x86: specify CONFIG_USE_PRIVATE_LIBGCC more simply
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 11 Mar 2014 02:05:14 +0000 (11:05 +0900)
committerTom Rini <trini@ti.com>
Wed, 12 Mar 2014 21:04:45 +0000 (17:04 -0400)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
arch/x86/config.mk

index 1e52a5e9b0ae7b7a0ced065c933f4a2f95ec88c8..38cb7c93a5b6639dbabbfb715040a70caa67203e 100644 (file)
@@ -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