summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-07 17:28:02 -0800
committerDavid Hendricks <dhendrix@chromium.org>2012-12-08 03:52:53 +0100
commit4c4dd93be7fc7d7ae0d5802fe15f8e5e533a6872 (patch)
tree5aeb0220c43083a7fc30c4b198ad1dc9e86b4a70 /src
parentbca9b9d53e9d742d313f028f34aa4b153f7de469 (diff)
downloadcoreboot-4c4dd93be7fc7d7ae0d5802fe15f8e5e533a6872.tar.xz
Only include libgcc wrappers on x86
ARM does not need them, and they're causing trouble Change-Id: I6c70a52c68fdcdbf211217d30c96e1c2877c7f90 Signed-off-by: David Hendricks <dhendrix@chromium.org> Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2009 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r--src/lib/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 3b161705ed..6b3f0d8a59 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -60,7 +60,7 @@ ramstage-y += cbfs.c
ramstage-y += lzma.c
#ramstage-y += lzmadecode.c
ramstage-y += stack.c
-ramstage-y += gcc.c
+ramstage-$(CONFIG_ARCH_X86) += gcc.c
ramstage-y += clog2.c
ramstage-y += cbmem.c
ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250.c