summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-27 22:40:34 +0900
committerTom Rini <trini@ti.com>2014-03-04 12:15:30 -0500
commita86cf89c765d99c39b397abe3d9926ab3593f57a (patch)
tree4f47ffcbe82047481fe366a8d3a24e3d26429e51 /spl/Makefile
parent6b9709d91488993a8d7945995778cc63a24065ef (diff)
downloadu-boot-imx-a86cf89c765d99c39b397abe3d9926ab3593f57a.zip
u-boot-imx-a86cf89c765d99c39b397abe3d9926ab3593f57a.tar.gz
u-boot-imx-a86cf89c765d99c39b397abe3d9926ab3593f57a.tar.bz2
kbuild: consolidate PLATFORM_LIBS
We had switched to Kbuild so now we can specify PLATFORM_LIBS/PLATFORM_LIBGCC with relative path. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Tom Rini <trini@ti.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 346d0aa..57bd43b 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -133,7 +133,7 @@ libs-y := $(patsubst %/, %/built-in.o, $(libs-y))
# Add GCC lib
ifeq ("$(USE_PRIVATE_LIBGCC)", "yes")
-PLATFORM_LIBGCC = $(SPLTREE)/arch/$(ARCH)/lib/lib.a
+PLATFORM_LIBGCC = arch/$(ARCH)/lib/lib.a
PLATFORM_LIBS := $(filter-out %/lib.a, $(filter-out -lgcc, $(PLATFORM_LIBS))) $(PLATFORM_LIBGCC)
endif