linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] drop GZFLAGS definition
@ 2020-09-04 20:12 Denis Efremov
  2020-09-04 20:12 ` [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export Denis Efremov
  2020-09-04 20:12 ` [PATCH 2/2] csky: Drop GZFLAGS definition Denis Efremov
  0 siblings, 2 replies; 5+ messages in thread
From: Denis Efremov @ 2020-09-04 20:12 UTC (permalink / raw)
  To: Masahiro Yamada, Russell King, Guo Ren
  Cc: Denis Efremov, linux-kernel, linux-arm-kernel, linux-csky, linux-kbuild

GZFLAGS is not used. KGZIP env var can be used to pass
additional flags to gzip instead.

Denis Efremov (2):
  ARM: makefile: Drop GZFLAGS definition and export
  csky: Drop GZFLAGS definition

 arch/arm/Makefile  | 3 +--
 arch/csky/Makefile | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export
  2020-09-04 20:12 [PATCH 0/2] drop GZFLAGS definition Denis Efremov
@ 2020-09-04 20:12 ` Denis Efremov
  2020-09-05 16:46   ` Masahiro Yamada
  2020-09-04 20:12 ` [PATCH 2/2] csky: Drop GZFLAGS definition Denis Efremov
  1 sibling, 1 reply; 5+ messages in thread
From: Denis Efremov @ 2020-09-04 20:12 UTC (permalink / raw)
  To: Masahiro Yamada, Russell King
  Cc: Denis Efremov, linux-kernel, linux-arm-kernel, linux-csky, linux-kbuild

Drop the definition and export of GZFLAGS, because it's
not used. GZFLAGS was dropped from arm64 in commit
4cf234943dcf ("arm64: drop GZFLAGS definition and export").

Signed-off-by: Denis Efremov <efremov@linux.com>
---
 arch/arm/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 4e877354515f..3780063e0be0 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -20,7 +20,6 @@ ifeq ($(CONFIG_ARM_MODULE_PLTS),y)
 KBUILD_LDS_MODULE	+= $(srctree)/arch/arm/kernel/module.lds
 endif
 
-GZFLAGS		:=-9
 #KBUILD_CFLAGS	+=-pipe
 
 # Never generate .eh_frame
@@ -270,7 +269,7 @@ KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs))
 endif
 endif
 
-export	TEXT_OFFSET GZFLAGS MMUEXT
+export	TEXT_OFFSET MMUEXT
 
 core-y				+= arch/arm/
 # If we have a machine-specific directory, then include it in the build.
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] csky: Drop GZFLAGS definition
  2020-09-04 20:12 [PATCH 0/2] drop GZFLAGS definition Denis Efremov
  2020-09-04 20:12 ` [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export Denis Efremov
@ 2020-09-04 20:12 ` Denis Efremov
  2020-09-05 16:46   ` Masahiro Yamada
  1 sibling, 1 reply; 5+ messages in thread
From: Denis Efremov @ 2020-09-04 20:12 UTC (permalink / raw)
  To: Masahiro Yamada, Guo Ren
  Cc: Denis Efremov, linux-kernel, linux-csky, linux-kbuild

Drop the definition of GZFLAGS because it's not used.

Signed-off-by: Denis Efremov <efremov@linux.com>
---
 arch/csky/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/csky/Makefile b/arch/csky/Makefile
index 37f593a4bf53..715b839bf998 100644
--- a/arch/csky/Makefile
+++ b/arch/csky/Makefile
@@ -1,6 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0-only
 OBJCOPYFLAGS		:=-O binary
-GZFLAGS			:=-9
 
 ifdef CONFIG_CPU_HAS_FPU
 FPUEXT = f
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export
  2020-09-04 20:12 ` [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export Denis Efremov
@ 2020-09-05 16:46   ` Masahiro Yamada
  0 siblings, 0 replies; 5+ messages in thread
From: Masahiro Yamada @ 2020-09-05 16:46 UTC (permalink / raw)
  To: Denis Efremov
  Cc: Russell King, Linux Kernel Mailing List, linux-arm-kernel,
	linux-csky, Linux Kbuild mailing list

On Sat, Sep 5, 2020 at 5:14 AM Denis Efremov <efremov@linux.com> wrote:
>
> Drop the definition and export of GZFLAGS, because it's
> not used. GZFLAGS was dropped from arm64 in commit
> 4cf234943dcf ("arm64: drop GZFLAGS definition and export").
>
> Signed-off-by: Denis Efremov <efremov@linux.com>


Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>


BTW, if you want Russell to pick up this patch,
you need to send it to:

patches@arm.linux.org.uk



> ---
>  arch/arm/Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 4e877354515f..3780063e0be0 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -20,7 +20,6 @@ ifeq ($(CONFIG_ARM_MODULE_PLTS),y)
>  KBUILD_LDS_MODULE      += $(srctree)/arch/arm/kernel/module.lds
>  endif
>
> -GZFLAGS                :=-9
>  #KBUILD_CFLAGS +=-pipe
>
>  # Never generate .eh_frame
> @@ -270,7 +269,7 @@ KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs))
>  endif
>  endif
>
> -export TEXT_OFFSET GZFLAGS MMUEXT
> +export TEXT_OFFSET MMUEXT
>
>  core-y                         += arch/arm/
>  # If we have a machine-specific directory, then include it in the build.
> --
> 2.26.2
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] csky: Drop GZFLAGS definition
  2020-09-04 20:12 ` [PATCH 2/2] csky: Drop GZFLAGS definition Denis Efremov
@ 2020-09-05 16:46   ` Masahiro Yamada
  0 siblings, 0 replies; 5+ messages in thread
From: Masahiro Yamada @ 2020-09-05 16:46 UTC (permalink / raw)
  To: Denis Efremov
  Cc: Guo Ren, Linux Kernel Mailing List, linux-csky,
	Linux Kbuild mailing list

On Sat, Sep 5, 2020 at 5:14 AM Denis Efremov <efremov@linux.com> wrote:
>
> Drop the definition of GZFLAGS because it's not used.
>
> Signed-off-by: Denis Efremov <efremov@linux.com>
> ---
>  arch/csky/Makefile | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/csky/Makefile b/arch/csky/Makefile
> index 37f593a4bf53..715b839bf998 100644
> --- a/arch/csky/Makefile
> +++ b/arch/csky/Makefile
> @@ -1,6 +1,5 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  OBJCOPYFLAGS           :=-O binary
> -GZFLAGS                        :=-9



Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>




>  ifdef CONFIG_CPU_HAS_FPU
>  FPUEXT = f
> --
> 2.26.2
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-05 16:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 20:12 [PATCH 0/2] drop GZFLAGS definition Denis Efremov
2020-09-04 20:12 ` [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export Denis Efremov
2020-09-05 16:46   ` Masahiro Yamada
2020-09-04 20:12 ` [PATCH 2/2] csky: Drop GZFLAGS definition Denis Efremov
2020-09-05 16:46   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).