From 5096f0513b7d2d3fc1004578e8ef3c03fdfa7c1f Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 21 Jul 2021 15:32:00 +0100 Subject: [PATCH] mediatek: mt7623: allow build without ext4 rootfs The image generation code for the U7623 board expects ext4 filesystem to be selected in menuconfig and CONFIG_TARGET_ROOTFS_PARTSIZE to be defined. Now that ext4 isn't enabled any more, the variable was missing and broke the build. Set the default (104) instead of using the config variable to fix that. Signed-off-by: Daniel Golle --- target/linux/mediatek/image/mt7623.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk index 00c1ac4443e2b9..653da6b2c08d2d 100644 --- a/target/linux/mediatek/image/mt7623.mk +++ b/target/linux/mediatek/image/mt7623.mk @@ -132,7 +132,7 @@ define Build/mtk-mmc-img $@.boot \ $(IMAGE_ROOTFS) \ $(CONFIG_MTK_BOOT_PARTSIZE) \ - $(CONFIG_TARGET_ROOTFS_PARTSIZE) + 104 endef define Build/scatterfile