Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6121
-gerrit
commit 4e80b35956bba6da861c8ad628d191d030740b81 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Thu Jun 26 18:12:11 2014 +1000
lib/Makefile.inc: Stop gcc.c getting into SMM clang builds
The libgcc runtime workarounds found in gcc.c are not needed for compiler-rt used by the Clang toolchain. Stop gcc.c from sneaking into Clang builds while processing boards that use SMM code.
Change-Id: I51e8d517784721d28b4d951bd0bebc8b52682a8e Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/lib/Makefile.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 522f43a..e5f2501 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -88,7 +88,9 @@ ramstage-$(CONFIG_REG_SCRIPT) += reg_script.c romstage-$(CONFIG_CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM) += ramstage_cache.c
smm-y += cbfs.c memcmp.c +ifneq ($(CONFIG_COMPILER_LLVM_CLANG),y) smm-y += gcc.c +endif
$(obj)/lib/version.ramstage.o : $(obj)/build.h
@@ -118,4 +120,3 @@ $(strip $(1)).rmod: $(strip $(1)) endef
endif -