From 7887a46f4533e4ba6de0f24ea9a9fc838d0ea7aa Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 27 Mar 2017 15:18:22 +0200 Subject: build: enable gzipping of images on x86 even if ext4 is disabled There is lots of padding between the boot partition and the rootfs, so gzipping is helpful here Signed-off-by: Felix Fietkau --- target/linux/x86/image/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'target/linux/x86') diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index ca5d0123c7..d3005d79c3 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -153,11 +153,9 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),) define Image/Build/gzip/ext4 $(call Image/Build/gzip,ext4) endef - ifneq ($(CONFIG_TARGET_IMAGES_PAD),) - define Image/Build/gzip/squashfs + define Image/Build/gzip/squashfs $(call Image/Build/gzip,squashfs) - endef - endif + endef endif define Image/BuildKernel -- cgit v1.2.3