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> Reviewed-on: http://review.coreboot.org/6121 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com>
This commit is contained in:
parent
0ae068efdb
commit
9b229858b2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue