Yu-Ping Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83594?usp=email )
Change subject: arch/x86/Kconfig: Stop building ARM verstage with clang ......................................................................
arch/x86/Kconfig: Stop building ARM verstage with clang
We have never intended to build ARM verstage with clang (see CB:69701). In CB:69505, we accidentally enabled ARCH_SUPPORTS_CLANG for all platforms with ARCH_X86 (even if VBOOT_STARTS_BEFORE_BOOTBLOCK). That patch implicitly changed the definition of ARCH_ALL_STAGES_X86_* from "all stages are x86" to "all stages are x86, except verstage might be ARM". As a result, boards such as guybrush started to have ARCH_ALL_STAGES_X86_* selected, causing ARCH_SUPPORTS_CLANG to be selected as well.
Assume we don't want to revert CB:69505 by moving those ARCH_*_X86_* selection back to SoC's Kconfigs. Then, in x86's Kconfig, ARCH_SUPPORTS_CLANG should be selected only if !VBOOT_STARTS_BEFORE_BOOTBLOCK.
Change-Id: I033458556986ade88fb8e68499b632deae4dd419 Signed-off-by: Yu-Ping Wu yupingso@chromium.org --- M src/arch/x86/Kconfig 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/83594/1
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index c0fe6dc..e23a34f 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -5,7 +5,7 @@ select PCI select RELOCATABLE_MODULES select HAVE_ASAN_IN_RAMSTAGE - select ARCH_SUPPORTS_CLANG + select ARCH_SUPPORTS_CLANG if !VBOOT_STARTS_BEFORE_BOOTBLOCK
if ARCH_X86