diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2013-12-29 18:45:23 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-04-16 08:20:06 +0200 |
commit | 9b0de7145927f0158de3fe526ff34e298fdae793 (patch) | |
tree | 0809c8760e1c44bca229461ff0070ad6631066d4 /src | |
parent | 34195beed12dd91805c9e7beb1d49038ecf123b6 (diff) | |
download | coreboot-9b0de7145927f0158de3fe526ff34e298fdae793.tar.xz |
buildsystem: check for coreboot toolchain by default
Other toolchains just don't cut it.
Change-Id: I7a0bdf60d89b5166c9a22c9e9f3f326b28f777b8
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/4584
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index 2f5270e918..27f532b44e 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -70,6 +70,16 @@ config COMPILER_LLVM_CLANG endchoice +config ANY_TOOLCHAIN + bool "Allow building with any toolchain" + default n + depends on COMPILER_GCC + help + Many toolchains break when building coreboot since it uses quite + unusual linker features. Unless developers explicitely request it, + we'll have to assume that they use their distro compiler by mistake. + Make sure that using patched compilers is a conscious decision. + config SCANBUILD_ENABLE bool "Build with scan-build for static code analysis" default n |