aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-04-12 20:48:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-04-12 20:48:47 +0000
commitaf192f49cef20110ccbefe1c96e880b654db6cd5 (patch)
treeb679b774bfa6fdc941bb5d1b79a43112a5ee48ec /target/linux/x86/image
parent4c7ebaeff5f6f6ee9d2ec97eca608a664f80d78f (diff)
downloadmaster-187ad058-af192f49cef20110ccbefe1c96e880b654db6cd5.tar.gz
master-187ad058-af192f49cef20110ccbefe1c96e880b654db6cd5.tar.bz2
master-187ad058-af192f49cef20110ccbefe1c96e880b654db6cd5.zip
[x86] gzip jffs2 images
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26625 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/image')
-rw-r--r--target/linux/x86/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
index 57d7b0b46d..12ffe18553 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