From 868648c41de67f1794da5df275740be6fd30411f Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sat, 10 May 2014 04:39:06 +1000 Subject: 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 Reviewed-on: http://review.coreboot.org/5709 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc index bd1a58a391..3205a102c4 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 -- cgit v1.2.3