mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:05:19 +02:00
[x86] GZip only ext4 and padded images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8176b71781
commit
05c64b9247
@ -82,6 +82,7 @@ config TARGET_IMAGES_PAD
|
|||||||
|
|
||||||
config TARGET_IMAGES_GZIP
|
config TARGET_IMAGES_GZIP
|
||||||
bool "GZip images"
|
bool "GZip images"
|
||||||
|
depends TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config TARGET_KERNEL_PARTSIZE
|
config TARGET_KERNEL_PARTSIZE
|
||||||
|
@ -176,6 +176,7 @@ 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/jffs2-64k
|
define Image/Build/gzip/jffs2-64k
|
||||||
$(call Image/Build/gzip,jffs2-64k)
|
$(call Image/Build/gzip,jffs2-64k)
|
||||||
endef
|
endef
|
||||||
@ -183,6 +184,7 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),)
|
|||||||
$(call Image/Build/gzip,jffs2-128k)
|
$(call Image/Build/gzip,jffs2-128k)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
define Image/BuildKernel
|
define Image/BuildKernel
|
||||||
$(CP) $(KDIR)/bzImage $(BIN_DIR)/$(IMG_PREFIX)-vmlinuz
|
$(CP) $(KDIR)/bzImage $(BIN_DIR)/$(IMG_PREFIX)-vmlinuz
|
||||||
|
Loading…
Reference in New Issue
Block a user