X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fsunxi%2Fimage%2FMakefile;fp=target%2Flinux%2Fsunxi%2Fimage%2FMakefile;h=5a5c98a7c03625a79efcd80bbc10f9b4cdcbbd71;hb=2b96d52e8e9d9c6ac7bdf05bbdb1f07c223d14c7;hp=10d2200aa3ce510322151a9e8280e1c05fa107b7;hpb=955ec87c2176b5e79373187ab5185cc517e5d6e0;p=openwrt.git diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 10d2200aa3..5a5c98a7c0 100644 --- a/target/linux/sunxi/image/Makefile +++ b/target/linux/sunxi/image/Makefile @@ -45,6 +45,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