Skip to content
Snippets Groups Projects
Commit 40242426 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: drop initcode.o from combined object


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: default avatarMike Frysinger <vapier@gentoo.org>
parent fa722ea7
No related branches found
No related tags found
No related merge requests found
...@@ -29,10 +29,6 @@ COBJS-y += serial.o ...@@ -29,10 +29,6 @@ COBJS-y += serial.o
COBJS-y += traps.o COBJS-y += traps.o
COBJS-$(CONFIG_HW_WATCHDOG) += watchdog.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) SRCS := $(SEXTRA:.o=.S) $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS)) OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
EXTRA := $(addprefix $(obj),$(EXTRA)) EXTRA := $(addprefix $(obj),$(EXTRA))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment