[x86] GZip only ext4 and padded images

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Vasilis Tsiligiannis 2012-02-16 17:54:01 +00:00
parent 7cb3f70eea
commit c326fbec1a
2 changed files with 7 additions and 4 deletions

View File

@ -82,6 +82,7 @@ config TARGET_IMAGES_PAD
config TARGET_IMAGES_GZIP
bool "GZip images"
depends TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
default y
config TARGET_KERNEL_PARTSIZE

View File

@ -176,12 +176,14 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),)
define Image/Build/gzip/ext4
$(call Image/Build/gzip,ext4)
endef
define Image/Build/gzip/jffs2-64k
ifneq ($(CONFIG_TARGET_IMAGES_PAD),)
define Image/Build/gzip/jffs2-64k
$(call Image/Build/gzip,jffs2-64k)
endef
define Image/Build/gzip/jffs2-128k
endef
define Image/Build/gzip/jffs2-128k
$(call Image/Build/gzip,jffs2-128k)
endef
endef
endif
endif
define Image/BuildKernel