From: Masahiro Yamada Date: Thu, 23 Oct 2014 16:30:42 +0000 (+0900) Subject: kbuild: drop CONFIG_USE_PRIVATE_LIBGCC=path/to/libgcc syntax X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=76eb5d815e0e4c4979fb862498e2860e9db2b810;p=u-boot.git 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 Tested-by: Simon Glass Acked-by: Simon Glass --- diff --git a/Makefile b/Makefile index bd0f45e47c..26dacee98e 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)