From: Matthias Weisser Date: Thu, 18 Nov 2010 08:35:09 +0000 (+0100) Subject: Makefile: Fix build with USE_PRIVATE_LIBGCC X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=635d1b3e1b885267de90d100402ba7748fdd9bc5;p=u-boot.git Makefile: Fix build with USE_PRIVATE_LIBGCC If USE_PRIVATE_LIBGCC is set the yes building fails with a missing libgcc.a As we use partial linking now it is libgcc.o now. Signed-off-by: Matthias Weisser --- diff --git a/Makefile b/Makefile index af33f085f9..b4aae898ab 100644 --- a/Makefile +++ b/Makefile @@ -269,7 +269,7 @@ LIBBOARD := $(addprefix $(obj),$(LIBBOARD)) # Add GCC lib ifdef USE_PRIVATE_LIBGCC ifeq ("$(USE_PRIVATE_LIBGCC)", "yes") -PLATFORM_LIBGCC = -L $(OBJTREE)/arch/$(ARCH)/lib -lgcc +PLATFORM_LIBGCC = $(OBJTREE)/arch/$(ARCH)/lib/libgcc.o else PLATFORM_LIBGCC = -L $(USE_PRIVATE_LIBGCC) -lgcc endif