summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-24 01:30:42 +0900
committerTom Rini <trini@ti.com>2014-10-23 13:19:06 -0400
commit76eb5d815e0e4c4979fb862498e2860e9db2b810 (patch)
treeb8236ef88ad969daf4928bad9a7a5d5651fa4f46 /Makefile
parentdd43fa22de5fcffd6325fc38633ccc71734826c7 (diff)
downloadu-boot-imx-76eb5d815e0e4c4979fb862498e2860e9db2b810.zip
u-boot-imx-76eb5d815e0e4c4979fb862498e2860e9db2b810.tar.gz
u-boot-imx-76eb5d815e0e4c4979fb862498e2860e9db2b810.tar.bz2
kbuild: drop CONFIG_USE_PRIVATE_LIBGCC=path/to/libgcc syntax
Now CONFIG_USE_PRIVATE_LIBGCC is only used as a boolean macro. Remove CONFIG_USE_PRIVATE_LIBGCC=path/to/libgcc syntax. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Tested-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index bd0f45e..26dacee 100644
--- a/Makefile
+++ b/Makefile
@@ -674,13 +674,9 @@ u-boot-main := $(libs-y)
# Add GCC lib
-ifdef CONFIG_USE_PRIVATE_LIBGCC
ifeq ($(CONFIG_USE_PRIVATE_LIBGCC),y)
PLATFORM_LIBGCC = arch/$(ARCH)/lib/lib.a
else
-PLATFORM_LIBGCC = -L $(CONFIG_USE_PRIVATE_LIBGCC) -lgcc
-endif
-else
PLATFORM_LIBGCC := -L $(shell dirname `$(CC) $(c_flags) -print-libgcc-file-name`) -lgcc
endif
PLATFORM_LIBS += $(PLATFORM_LIBGCC)