From c326fbec1ab3edec69e90f2d7c90447ed280fa1f Mon Sep 17 00:00:00 2001
From: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Date: Thu, 16 Feb 2012 17:54:01 +0000
Subject: [x86] GZip only ext4 and padded images

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/x86/image/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'target/linux/x86/image/Makefile')

diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
index e52c74919d..6db12fca1c 100644
--- a/target/linux/x86/image/Makefile
+++ b/target/linux/x86/image/Makefile
@@ -176,12 +176,14 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),)
   define Image/Build/gzip/ext4
 	$(call Image/Build/gzip,ext4)
   endef
-  define Image/Build/gzip/jffs2-64k
+  ifneq ($(CONFIG_TARGET_IMAGES_PAD),)
+    define Image/Build/gzip/jffs2-64k
 	$(call Image/Build/gzip,jffs2-64k)
-  endef
-  define Image/Build/gzip/jffs2-128k
+    endef
+    define Image/Build/gzip/jffs2-128k
 	$(call Image/Build/gzip,jffs2-128k)
-  endef
+    endef
+  endif
 endif
 
 define Image/BuildKernel
-- 
cgit v1.2.3