summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-11 11:05:14 +0900
committerTom Rini <trini@ti.com>2014-03-12 17:04:45 -0400
commitc2e5b6a090e1bcc70dcacb4324c8daad0b91fa8a (patch)
treed1cbedc5e6641dbcf776a8e477d459a913527d82 /arch
parentb6e53eb320cd3f3685422c1f5274d13a239dc5b0 (diff)
downloadu-boot-imx-c2e5b6a090e1bcc70dcacb4324c8daad0b91fa8a.zip
u-boot-imx-c2e5b6a090e1bcc70dcacb4324c8daad0b91fa8a.tar.gz
u-boot-imx-c2e5b6a090e1bcc70dcacb4324c8daad0b91fa8a.tar.bz2
x86: specify CONFIG_USE_PRIVATE_LIBGCC more simply
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/config.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/config.mk b/arch/x86/config.mk
index 1e52a5e..38cb7c9 100644
--- a/arch/x86/config.mk
+++ b/arch/x86/config.mk
@@ -29,6 +29,4 @@ LDFLAGS_FINAL += --wrap=__divdi3 --wrap=__udivdi3
LDFLAGS_FINAL += --wrap=__moddi3 --wrap=__umoddi3
export NORMAL_LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
-PREFIXED_LIBGCC = $(OBJTREE)/arch/$(ARCH)/lib/$(shell basename $(NORMAL_LIBGCC))
-
-CONFIG_USE_PRIVATE_LIBGCC=$(shell dirname $(PREFIXED_LIBGCC))
+CONFIG_USE_PRIVATE_LIBGCC := arch/x86/lib