]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Blackfin: drop initcode.o from combined object
authorMike Frysinger <vapier@gentoo.org>
Sat, 20 Nov 2010 00:17:53 +0000 (19:17 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 20 Nov 2010 00:17:57 +0000 (19:17 -0500)
We explicitly link in the initcode.o in the Blackfin linker script, so
there is no need to merge it into the main common object for the linker
to pull in itself.  This also fixes duplicate symbol errors with the new
partial linking logic.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/cpu/Makefile

index 7c5400e90dae45b6029310e434557909ebab5285..4a9e577a872ecb516fb77ce3aac9184a0f399b76 100644 (file)
@@ -29,10 +29,6 @@ COBJS-y  += serial.o
 COBJS-y  += traps.o
 COBJS-$(CONFIG_HW_WATCHDOG)  += watchdog.o
 
-ifeq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
-COBJS-y  += initcode.o
-endif
-
 SRCS     := $(SEXTRA:.o=.S) $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
 OBJS     := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
 EXTRA    := $(addprefix $(obj),$(EXTRA))