diff options
author | Wolfgang Denk <wd@denx.de> | 2010-11-20 15:07:45 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-27 23:35:10 +0100 |
commit | cd0402a7307910fe34ca05c7921a69fcff9e1fd1 (patch) | |
tree | 1b80af4b485408e007e79958d442be3436fb3879 /arch/powerpc/cpu/mpc8xx/Makefile | |
parent | 4e2894be5e89f73a3819ef6874d4e9f10dc1138b (diff) | |
download | u-boot-imx-cd0402a7307910fe34ca05c7921a69fcff9e1fd1.zip u-boot-imx-cd0402a7307910fe34ca05c7921a69fcff9e1fd1.tar.gz u-boot-imx-cd0402a7307910fe34ca05c7921a69fcff9e1fd1.tar.bz2 |
8xx: Cleanup for partial linking and --gc-sections
Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/Makefile')
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/Makefile b/arch/powerpc/cpu/mpc8xx/Makefile index 527771e..0d1a12c 100644 --- a/arch/powerpc/cpu/mpc8xx/Makefile +++ b/arch/powerpc/cpu/mpc8xx/Makefile @@ -27,8 +27,8 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(CPU).o -START-y += start.o -START-y += kgdb.o +SSTART-y += start.o +CSTART-y += traps.o COBJS-y += bedbug_860.o COBJS-y += commproc.o COBJS-y += cpu.o @@ -42,19 +42,19 @@ COBJS-y += scc.o COBJS-y += serial.o COBJS-y += speed.o COBJS-y += spi.o -COBJS-y += traps.o COBJS-y += upatch.o COBJS-y += video.o +SOBJS-y += kgdb.o SOBJS-y += plprcr_write.o -SRCS := $(START-y:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +SRCS := $(SSTART-y:.o=.S) $(CSTART-y:.o=.c) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) -START := $(addprefix $(obj),$(START-y)) +START := $(addprefix $(obj),$(SSTART-y) $(CSTART-y)) all: $(obj).depend $(START) $(LIB) $(LIB): $(OBJS) - $(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o) + $(call cmd_link_o_target, $(OBJS)) ######################################################################### |