From 9b229858b2b0887511ae78e1535a422795e77736 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 26 Jun 2014 18:12:11 +1000 Subject: 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 Reviewed-on: http://review.coreboot.org/6121 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering --- 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 522f43a976..5298bbec80 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 - -- cgit v1.2.3