summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-03-16 01:17:19 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-16 01:17:19 +0000
commit23d89ccfd2444c9784e6a27256012f71f8e609dd (patch)
tree890f046424f0ef98c7872cc9420bec4fdee1cd73 /src
parent68a564f7ac3975de5ce6e6d0f65db63bbe7d2d64 (diff)
Make CLANG selectable in Kconfig
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5216 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 1e1de895df..55a40ff4f0 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -46,15 +46,28 @@ config CBFS_PREFIX
Select the prefix to all files put into the image. It's "fallback"
by default, "normal" is a common alternative.
+choice
+ prompt "Compiler"
+ default COMPILER_GCC
+ help
+ This option allows you to select the compiler used for building
+ coreboot.
+
+config COMPILER_GCC
+ bool "GCC"
+config COMPILER_LLVM_CLANG
+ bool "LLVM/clang"
+endchoice
+
config SCANBUILD_ENABLE
- bool "build with scan-build for static analysis"
+ bool "Build with scan-build for static analysis"
default n
help
Changes the build process to scan-build is used.
Requires scan-build in path.
config SCANBUILD_REPORT_LOCATION
- string "directory to put scan-build report in"
+ string "Directory to put scan-build report in"
default ""
depends on SCANBUILD_ENABLE
help