Skip to content

Commit

Permalink
mediatek: mt7623: yet another legacy image variable restored
Browse files Browse the repository at this point in the history
Restore BOOTFS_BLOCKS variable until U7623 gets brushed, so things
hopefully build now.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Jul 21, 2021
1 parent 5096f05 commit 089c2bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions target/linux/mediatek/image/mt7623.mk
Expand Up @@ -113,6 +113,11 @@ endef
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
rm -f $@.boot
mkfs.fat -C $@.boot $(BOOTFS_BLOCKS)
Expand Down Expand Up @@ -140,6 +145,7 @@ define Build/scatterfile
$(subst -scatter.txt,,$(notdir $@)) "$(DEVICE_TITLE)" > $@
endef


# Full eMMC image including U-Boot and partition table
define Device/unielec_u7623-emmc
DEVICE_VENDOR := UniElec
Expand Down

0 comments on commit 089c2bb

Please sign in to comment.