diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-26 18:12:11 +1000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-27 17:11:19 +0200 |
commit | 9b229858b2b0887511ae78e1535a422795e77736 (patch) | |
tree | 18e4666dfb991485166b8e58a0f3f86ef271e001 /src | |
parent | 0ae068efdb23fa07293dcd55b48d25a095aa062c (diff) | |
download | coreboot-9b229858b2b0887511ae78e1535a422795e77736.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Makefile.inc | 3 |
1 files changed, 1 insertions, 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 - |