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
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
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
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
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