From: John Crispin Date: Tue, 1 Mar 2016 08:14:38 +0000 (+0000) Subject: sunxi: respect CONFIG_TARGET_IMAGES_GZIP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e59da87cf6c9755753f66d2d13255b81e599e5c;p=openwrt%2Fsvn-archive%2Fopenwrt.git sunxi: respect CONFIG_TARGET_IMAGES_GZIP Signed-off-by: Matthias Schiffer Backport of r46608 SVN-Revision: 48836 --- diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 19ab935f3b..d3f440941d 100644 --- a/target/linux/sunxi/image/Makefile +++ b/target/linux/sunxi/image/Makefile @@ -43,6 +43,10 @@ define Image/Build/SDCard $(CONFIG_SUNXI_SD_BOOT_PARTSIZE) \ $(CONFIG_TARGET_ROOTFS_PARTSIZE) \ $(KDIR)/uboot-sunxi-$(PROFILE)-u-boot-with-spl.bin + + ifneq ($(CONFIG_TARGET_IMAGES_GZIP),) + gzip -f9n $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-sdcard-vfat-$(1).img + endif endef define Image/Build/Profile/A10-OLinuXino-Lime