From: jow Date: Tue, 12 Apr 2011 20:48:47 +0000 (+0000) Subject: [x86] gzip jffs2 images X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/5ddbb2c4a0b9f801f05c86c96befa4d0fca8d2c0 [x86] gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26625 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile index 57d7b0b46..12ffe1855 100644 --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -184,7 +184,7 @@ define Image/Build endif $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img $(CP) $(KDIR)/bzImage $(BIN_DIR)/$(IMG_PREFIX)-vmlinuz - ifeq ($(1),ext4) + ifneq (,$findstring($(1),ext4 jffs2)) gzip -f9 $(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img gzip -f9 $(BIN_DIR)/$(IMG_PREFIX)-rootfs-$(1).img endif