summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2024-04-03 15:56:27 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2024-08-06 16:37:35 +0000
commit8d0d57f0a2ed454f0036caae6d6ac30c5eb77a52 (patch)
tree3432323f3e0f8419780765e8727c16b49591a49a /src/arch
parent2f2c67da52722cce23e58ec1c7ddaf670ace715f (diff)
Kconfig: Reverse ARCH_SUPPORTS_CLANG
Since most targets support clang it's easier to reverse the semantics of the Kconfig options. Change-Id: Ib28e7a4cb286b9f8b05be94dae3947179f43c746 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81659 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/Kconfig1
-rw-r--r--src/arch/arm64/Kconfig1
-rw-r--r--src/arch/ppc64/Kconfig1
-rw-r--r--src/arch/riscv/Kconfig1
-rw-r--r--src/arch/x86/Kconfig1
5 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index 64fe915c4b..0829dcbbcb 100644
--- a/src/arch/arm/Kconfig
+++ b/src/arch/arm/Kconfig
@@ -2,6 +2,7 @@
config ARCH_ARM
bool
+ select CLANG_UNSUPPORTED
config ARCH_BOOTBLOCK_ARM
bool
diff --git a/src/arch/arm64/Kconfig b/src/arch/arm64/Kconfig
index af5050b21b..ea7b5aae71 100644
--- a/src/arch/arm64/Kconfig
+++ b/src/arch/arm64/Kconfig
@@ -2,6 +2,7 @@
config ARCH_ARM64
bool
+ select CLANG_UNSUPPORTED
config ARCH_BOOTBLOCK_ARM64
bool
diff --git a/src/arch/ppc64/Kconfig b/src/arch/ppc64/Kconfig
index 93e4929274..25a0f500ef 100644
--- a/src/arch/ppc64/Kconfig
+++ b/src/arch/ppc64/Kconfig
@@ -2,7 +2,6 @@
config ARCH_PPC64
bool
- select ARCH_SUPPORTS_CLANG
config ARCH_BOOTBLOCK_PPC64
bool
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig
index b570b0147c..66c64c2cd3 100644
--- a/src/arch/riscv/Kconfig
+++ b/src/arch/riscv/Kconfig
@@ -10,7 +10,6 @@ config ARCH_RISCV_RV32
config ARCH_RISCV
bool
- select ARCH_SUPPORTS_CLANG
if ARCH_RISCV
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index c0fe6dcf1b..16d8a7041d 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -5,7 +5,6 @@ config ARCH_X86
select PCI
select RELOCATABLE_MODULES
select HAVE_ASAN_IN_RAMSTAGE
- select ARCH_SUPPORTS_CLANG
if ARCH_X86