mediatek: mt7623: yet another legacy image variable restored

Restore BOOTFS_BLOCKS variable until U7623 gets brushed, so things
hopefully build now.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2021-07-21 16:18:58 +01:00
parent 5096f0513b
commit 089c2bb217

View File

@ -113,6 +113,11 @@ endef
TARGET_DEVICES += bananapi_bpi-r2 TARGET_DEVICES += bananapi_bpi-r2
ifneq ($(CONFIG_MTK_BOOT_PARTSIZE),)
BOOTFS_BLOCK_SIZE := 1024
BOOTFS_BLOCKS := $(shell echo $$(($(CONFIG_MTK_BOOT_PARTSIZE)*1024*1024/$(BOOTFS_BLOCK_SIZE))))
endif
define Build/mtk-mmc-img define Build/mtk-mmc-img
rm -f $@.boot rm -f $@.boot
mkfs.fat -C $@.boot $(BOOTFS_BLOCKS) mkfs.fat -C $@.boot $(BOOTFS_BLOCKS)
@ -140,6 +145,7 @@ define Build/scatterfile
$(subst -scatter.txt,,$(notdir $@)) "$(DEVICE_TITLE)" > $@ $(subst -scatter.txt,,$(notdir $@)) "$(DEVICE_TITLE)" > $@
endef endef
# Full eMMC image including U-Boot and partition table # Full eMMC image including U-Boot and partition table
define Device/unielec_u7623-emmc define Device/unielec_u7623-emmc
DEVICE_VENDOR := UniElec DEVICE_VENDOR := UniElec