summaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index ea6f341f7810..1549719dd02a 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -47,8 +47,15 @@ config CBFS_PREFIX
Select the prefix to all files put into the image. It's "fallback"
by default, "normal" is a common alternative.
+config DEFAULT_COMPILER_LLVM_CLANG
+ bool
+ help
+ Allows to override the default compiler. This can for instance be
+ set in site-local/Kconfig.
+
choice
prompt "Compiler to use"
+ default COMPILER_LLVM_CLANG if DEFAULT_COMPILER_LLVM_CLANG
default COMPILER_GCC
help
This option allows you to select the compiler used for building