toolchain/armclang: Fix armclang config

In the toolchain, ARCH_TOOLCHAIN_XXX is used to select the compiler to be used. If clang is selected here, subsequent errors will occur

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1
2025-07-14 14:33:12 +08:00
committed by Xiang Xiao
parent 338132af8f
commit be3cd43a1e
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -283,6 +283,11 @@ config ARCH_TOOLCHAIN_GNU
bool
default n
config ARCH_TOOLCHAIN_ARMCLANG
bool
select ARCH_TOOLCHAIN_GNU
default n
config ARCH_TOOLCHAIN_CLANG
bool
select ARCH_TOOLCHAIN_GNU
+1 -1
View File
@@ -45,7 +45,7 @@ config ARM_TOOLCHAIN_CLANG
config ARM_TOOLCHAIN_ARMCLANG
bool "ARM Compiler Clang toolchain"
select ARCH_TOOLCHAIN_CLANG
select ARCH_TOOLCHAIN_ARMCLANG
config ARM_TOOLCHAIN_GHS
bool "ARM Compiler Green Hills Software toolchain"