[openwrt/openwrt] mediatek: mt7623: allow build without ext4 rootfs

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 21 07:34:35 PDT 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5096f0513b7d2d3fc1004578e8ef3c03fdfa7c1f

commit 5096f0513b7d2d3fc1004578e8ef3c03fdfa7c1f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Jul 21 15:32:00 2021 +0100

    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 <daniel at makrotopia.org>
---
 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 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



More information about the lede-commits mailing list