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 f0bebe6f1113fc5f16e1cc192c8f6155b86ce265 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, 1 insertion(+), 2 deletions(-)
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 522f43a..5298bbe 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -88,7 +88,7 @@ ramstage-$(CONFIG_REG_SCRIPT) += reg_script.c romstage-$(CONFIG_CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM) += ramstage_cache.c
smm-y += cbfs.c memcmp.c -smm-y += gcc.c +smm-$(CONFIG_COMPILER_GCC) += gcc.c
$(obj)/lib/version.ramstage.o : $(obj)/build.h
@@ -118,4 +118,3 @@ $(strip $(1)).rmod: $(strip $(1)) endef
endif -