summaryrefslogtreecommitdiff
path: root/arch/x86/config.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-10-21 11:53:34 +0900
committerTom Rini <trini@ti.com>2013-11-01 11:42:12 -0400
commit3954b739b32de7c634b21496c229d30a085a19e2 (patch)
tree47ca588738c2b2afc9635e0b87e8ab87731f9100 /arch/x86/config.mk
parentafea2c969ab5acaf76d3689b21f80c8feaa8fb4c (diff)
downloadu-boot-3954b739b32de7c634b21496c229d30a085a19e2.tar.gz
x86: convert makefiles to Kbuild style
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/config.mk')
-rw-r--r--arch/x86/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/config.mk b/arch/x86/config.mk
index b22959f54b..4a4ad8024a 100644
--- a/arch/x86/config.mk
+++ b/arch/x86/config.mk
@@ -31,7 +31,7 @@ LDFLAGS_FINAL += --gc-sections -pie
LDFLAGS_FINAL += --wrap=__divdi3 --wrap=__udivdi3
LDFLAGS_FINAL += --wrap=__moddi3 --wrap=__umoddi3
-NORMAL_LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
+export NORMAL_LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
PREFIXED_LIBGCC = $(OBJTREE)/arch/$(ARCH)/lib/$(shell basename $(NORMAL_LIBGCC))
export USE_PRIVATE_LIBGCC=$(shell dirname $(PREFIXED_LIBGCC))