Browse Source

gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <[email protected]>

SVN-Revision: 26625
Jo-Philipp Wich 14 years ago
parent
commit
76bfcee5ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/x86/image/Makefile

+ 1 - 1
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