aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-05-10 04:39:06 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-09 22:53:46 +0200
commit868648c41de67f1794da5df275740be6fd30411f (patch)
treed01140f62f85b8d12229aebbc22aa1e10bda5711
parent3ee43171ef4b2f5a3513fc785802a02afb4af4a9 (diff)
downloadcoreboot-868648c41de67f1794da5df275740be6fd30411f.tar.gz
coreboot-868648c41de67f1794da5df275740be6fd30411f.tar.xz
coreboot-868648c41de67f1794da5df275740be6fd30411f.zip
Makefile.inc: Make clang once again a valid toolchain
'prove' that clang is supported (to some extent). Change-Id: I181f4910ba64ab9746e7ac94aa79da23cdd41dad Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5709 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
-rw-r--r--Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index bd1a58a39..3205a102c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -29,6 +29,9 @@ ifneq ($(NOCOMPILE),1)
# only run if we're doing a build (not for tests, kconfig, ...)
ifneq ($(CONFIG_ANY_TOOLCHAIN),y)
_toolchain=$(shell $(CC_x86_32) -v 2>&1 |grep -q "gcc version .*coreboot toolchain" && echo coreboot)
+ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
+_toolchain=coreboot
+endif
ifneq ($(_toolchain),coreboot)
$(error Please use the coreboot toolchain (or prove that your toolchain works))
endif