From: Daniel Golle Date: Wed, 21 Jul 2021 14:32:00 +0000 (+0100) Subject: mediatek: mt7623: allow build without ext4 rootfs X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5096f0513b7d2d3fc1004578e8ef3c03fdfa7c1f;p=openwrt%2Fstaging%2Fjow.git 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 --- diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk index 00c1ac4443..653da6b2c0 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