summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-76bfcee5ea9b071942725371d343d9a89b757212.zip
mtk-20170518-76bfcee5ea9b071942725371d343d9a89b757212.tar.gz
mtk-20170518-76bfcee5ea9b071942725371d343d9a89b757212.tar.bz2
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 57d7b0b..12ffe18 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