From 539f1170383ca1637623d24b03a5aa7760f99aa2 Mon Sep 17 00:00:00 2001 From: bernard Date: Fri, 6 Nov 2026 11:56:46 +0800 Subject: [PATCH] [libcpu] Make arm/Kconfig source optional in dist projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit scons --dist only copies the libcpu directory of the target architecture, so a dist project built for a non-ARM architecture has no libcpu/arm. The unconditional rsource of arm/Kconfig added by 89c70abccd then makes scons --pyconfig-silent fail, which breaks the BSP build CI for every non-ARM BSP. Source arm/Kconfig with orsource, matching how the aarch64 and risc-v Kconfig files are already included. Fixes: 89c70abccd ("kconfig部分搬至arm/kconfig") --- libcpu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpu/Kconfig b/libcpu/Kconfig index ead8d147943..ccf213e022f 100644 --- a/libcpu/Kconfig +++ b/libcpu/Kconfig @@ -24,7 +24,7 @@ config ARCH_USING_HW_ATOMIC_16 config ARCH_CPU_BIG_ENDIAN bool -rsource "arm/Kconfig" +orsource "arm/Kconfig" config ARCH_CPU_STACK_GROWS_UPWARD bool