summaryrefslogtreecommitdiffstats
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
commit76bfcee5ea9b071942725371d343d9a89b757212 (patch)
treeb77a84e46d44ac60ae56b4d62ecdb6b671ba7f3d /target/linux/x86/image
parentd1f053d7ef8f0b0636e76be62d46f3109483e306 (diff)
downloadopenwrt-76bfcee5ea9b071942725371d343d9a89b757212.tar.gz
openwrt-76bfcee5ea9b071942725371d343d9a89b757212.tar.bz2
openwrt-76bfcee5ea9b071942725371d343d9a89b757212.zip
gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26625
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