From 8b039615b7d9b30a27dfcb150e93046eedd61a02 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 1 Mar 2016 08:14:38 +0000 Subject: [PATCH] sunxi: respect CONFIG_TARGET_IMAGES_GZIP Signed-off-by: Matthias Schiffer Backport of r46608 SVN-Revision: 48836 --- target/linux/sunxi/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2