From c74ba01cc4f26a2a289dd009dc7ab177abb4aaf7 Mon Sep 17 00:00:00 2001 From: hanwckf Date: Thu, 21 Aug 2025 14:36:33 +0800 Subject: [PATCH] build.sh: fix atf-2024/atf-2025 emmc configs --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a402478a1..12ebd0149 100755 --- a/build.sh +++ b/build.sh @@ -34,7 +34,7 @@ for file in "$ATF_DIR/configs/$ATF_CFG" "$UBOOT_DIR/configs/$UBOOT_CFG"; do fi done -if grep -q "CONFIG_FLASH_DEVICE_EMMC=y" $ATF_DIR/configs/$ATF_CFG ; then +if grep -Eq "CONFIG_FLASH_DEVICE_EMMC=y|_BOOT_DEVICE_EMMC=y" $ATF_DIR/configs/$ATF_CFG ; then # No fixed-mtdparts or multilayout for EMMC fixedparts=0 multilayout=0