diff options
Diffstat (limited to 'target/linux/mediatek/image/mt7622.mk')
-rw-r--r-- | target/linux/mediatek/image/mt7622.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk index e741c46926..b0611bd17c 100644 --- a/target/linux/mediatek/image/mt7622.mk +++ b/target/linux/mediatek/image/mt7622.mk @@ -97,7 +97,9 @@ define Device/bananapi_bpi-r64 $(if $(CONFIG_TARGET_ROOTFS_SQUASHFS),\ pad-to 46080k | append-image squashfs-sysupgrade.itb | check-size | gzip \ ) +ifeq ($(DUMP),) IMAGE_SIZE := $$(shell expr 45 + $$(CONFIG_TARGET_ROOTFS_PARTSIZE))m +endif KERNEL := kernel-bin | gzip KERNEL_INITRAMFS := kernel-bin | lzma | fit lzma $$(DTS_DIR)/$$(DEVICE_DTS).dtb with-initrd | pad-to 128k IMAGE/sysupgrade.itb := append-kernel | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb external-static-with-rootfs | append-metadata |