Skip to contentSkip to conversation

drop GZFLAGS definition

PATCH In review Denis Efremov 2 participants 5 messages Sep 4, 2020 – Sep 5, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover drop GZFLAGS definition

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(-)
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/2 ARM: makefile: Drop GZFLAGS definition and export

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").

---
 arch/arm/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/Makefile +1 -2
index 4e877354515f..3780063e0be0 100644
@@ -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.
Signature · 1 line
2.26.2
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] ARM: makefile: Drop GZFLAGS definition and export

Quoted 6 lines · Denis Efremov

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").

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

[email protected]

Quoted 28 lines
---
 arch/arm/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/Makefile +1 -3
index 4e877354515f..3780063e0be0 100644
@@ -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

Signature · 2 lines
Best Regards
Masahiro Yamada
#3 lore raw

PATCH 2/2 csky: Drop GZFLAGS definition

In reply to Denis Efremov

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

---
 arch/csky/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/csky/Makefile +0 -1
index 37f593a4bf53..715b839bf998 100644
@@ -1,6 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0-only
 OBJCOPYFLAGS		:=-O binary
-GZFLAGS			:=-9
 
 ifdef CONFIG_CPU_HAS_FPU
 FPUEXT = f
Signature · 1 line
2.26.2
Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] csky: Drop GZFLAGS definition

Quoted 13 lines · Denis Efremov

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

---
 arch/csky/Makefile | 1 -
 1 file changed, 1 deletion(-)
arch/csky/Makefile +0 -0
index 37f593a4bf53..715b839bf998 100644

arch/csky/Makefile line 3

Quoted 3 lines
arch/csky/Makefile +0 -1
@@ -1,6 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0-only
 OBJCOPYFLAGS           :=-O binary
-GZFLAGS                        :=-9
Quoted 5 lines
arch/csky/Makefile +0 -1
 ifdef CONFIG_CPU_HAS_FPU
 FPUEXT = f
--

2.26.2

Signature · 2 lines
Best Regards
Masahiro Yamada