From a86cf89c765d99c39b397abe3d9926ab3593f57a Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 27 Feb 2014 22:40:34 +0900 Subject: 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 Acked-by: Tom Rini Acked-by: Simon Glass Tested-by: Simon Glass --- spl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spl') 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 -- cgit v1.1