]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
PowerPC: drop some 74xx_7xx boards and related code
[karo-tx-uboot.git] / Makefile
index bd0f45e47c0030e76298355a41594176d3bce7a7..26dacee98e07d0c203e0156bae557ea95a006d29 100644 (file)
--- 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)