[x86] gzip jffs2 images
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Apr 2011 20:48:47 +0000 (20:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Apr 2011 20:48:47 +0000 (20:48 +0000)
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26625

target/linux/x86/image/Makefile

index 57d7b0b46d0369502080c23346acb02e5920b4f5..12ffe185532a51b0deac8490e7109866d1d1d9ce 100644 (file)
@@ -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