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>
config TARGET_IMAGES_GZIP
bool "GZip images"
- depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
+ depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS || TARGET_x86
default y
comment "Image Options"
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