X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbrcm2708%2Fimage%2FMakefile;fp=target%2Flinux%2Fbrcm2708%2Fimage%2FMakefile;h=53716e0d773943945343364c9550747df4d08f16;hb=49f8801514837980bd80dd3fa1c24e82897d2e5c;hp=10ecfdaef013b58333c49a388725d25a685172b7;hpb=396fd3cfbd95d0b48844d7b8f37364da0e2fcb0b;p=openwrt.git diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 10ecfdaef0..53716e0d77 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -40,6 +40,9 @@ endef define Build/sdcard-img ./gen_rpi_sdcard_img.sh $@ $@.boot $(word 2,$^) \ $(CONFIG_BRCM2708_SD_BOOT_PARTSIZE) $(CONFIG_TARGET_ROOTFS_PARTSIZE) + ifneq ($(CONFIG_TARGET_IMAGES_GZIP),) + gzip -k -f9 $(BIN_DIR)/$(IMG_PREFIX)-sdcard-vfat-$(1).img + endif endef ### Device macros ###