generic: ar8216: add a separate structure for chip specific stuff
[openwrt.git] / target / linux / x86 / image / Makefile
index e52c749..26e34ff 100644 (file)
@@ -176,12 +176,17 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),)
   define Image/Build/gzip/ext4
        $(call Image/Build/gzip,ext4)
   endef
   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/squashfs
+       $(call Image/Build/gzip,squashfs)
+    endef
+    define Image/Build/gzip/jffs2-64k
        $(call 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)
        $(call Image/Build/gzip,jffs2-128k)
-  endef
+    endef
+  endif
 endif
 
 define Image/BuildKernel
 endif
 
 define Image/BuildKernel
This page took 0.024963 seconds and 4 git commands to generate.