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 <nbd@nbd.name>
owl
Felix Fietkau 2017-03-27 15:18:22 +02:00
parent 6b127d8639
commit 7887a46f45
2 changed files with 3 additions and 5 deletions

View File

@ -242,7 +242,7 @@ menu "Target Images"
config TARGET_IMAGES_GZIP config TARGET_IMAGES_GZIP
bool "GZip images" bool "GZip images"
depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS || TARGET_x86
default y default y
comment "Image Options" comment "Image Options"

View File

@ -153,11 +153,9 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),)
define Image/Build/gzip/ext4 define Image/Build/gzip/ext4
$(call Image/Build/gzip,ext4) $(call Image/Build/gzip,ext4)
endef endef
ifneq ($(CONFIG_TARGET_IMAGES_PAD),) define Image/Build/gzip/squashfs
define Image/Build/gzip/squashfs
$(call Image/Build/gzip,squashfs) $(call Image/Build/gzip,squashfs)
endef endef
endif
endif endif
define Image/BuildKernel define Image/BuildKernel