[U-Boot] [PATCH 3/7] kbuild: drop CONFIG_USE_PRIVATE_LIBGCC=<path/to/libgcc> syntax
Masahiro Yamada
yamada.m at jp.panasonic.com
Fri Sep 26 12:23:24 CEST 2014
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 at jp.panasonic.com>
---
Makefile | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Makefile b/Makefile
index 6221113..d506b2e 100644
--- a/Makefile
+++ b/Makefile
@@ -670,13 +670,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)
--
1.9.1
More information about the U-Boot
mailing list