[coreboot-gerrit] New patch to review for coreboot: 3aecc3b build system: re-enable clang use
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Wed May 14 21:06:27 CEST 2014
Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5747
-gerrit
commit 3aecc3be6da8d1e51311bb08aebf667e6f787742
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Wed May 14 21:05:35 2014 +0200
build system: re-enable clang use
Change-Id: I6e07fdec449d0b259d77986f65a60aa36d367cc8
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index c9648c0..f59a494 100644
--- a/Makefile
+++ b/Makefile
@@ -117,15 +117,17 @@ else
include $(HAVE_DOTCONFIG)
-include toolchain.inc
-
ifneq ($(INNER_SCANBUILD),y)
ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
-CC:=clang -m32 -mno-mmx -mno-sse -no-integrated-as
+CC_i386:=clang -m32 -mno-mmx -mno-sse -no-integrated-as -ccc-gcc-name "$(CC_i386)"
+CC_armv7:=clang -no-integrated-as -ccc-gcc-name "$(CC_armv7)"
+CC_arch64:=clang -no-integrated-as -ccc-gcc-name "$(CC_aarch64)"
HOSTCC:=clang
endif
endif
+include toolchain.inc
+
ifeq ($(CONFIG_CCACHE),y)
CCACHE:=$(word 1,$(wildcard $(addsuffix /ccache,$(subst :, ,$(PATH)))))
ifeq ($(CCACHE),)
More information about the coreboot-gerrit
mailing list