Only apply libgcc workaround on x86-32
This should probably be moved out of lib and to arch/x86, since it does not even apply on x86-64, and ARM has its own copy of libgcc. Change-Id: I4fca1323927f8d37128472ed60d059f7a459fc71 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/11110 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
d146ac6a33
commit
1fa5274071
|
@ -94,6 +94,7 @@ romstage-y += compute_ip_checksum.c
|
|||
ifeq ($(CONFIG_COMPILER_GCC),y)
|
||||
romstage-$(CONFIG_ARCH_ROMSTAGE_X86_32) += gcc.c
|
||||
ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += gcc.c
|
||||
smm-$(CONFIG_ARCH_RAMSTAGE_X86_32) += gcc.c
|
||||
endif
|
||||
|
||||
romstage-$(CONFIG_GENERIC_UDELAY) += timer.c
|
||||
|
@ -166,7 +167,6 @@ smm-y += region.c
|
|||
smm-y += boot_device.c
|
||||
smm-y += fmap.c
|
||||
smm-y += cbfs.c memcmp.c
|
||||
smm-$(CONFIG_COMPILER_GCC) += gcc.c
|
||||
|
||||
bootblock-y += version.c
|
||||
romstage-y += version.c
|
||||
|
|
Loading…
Reference in New Issue