diff options
author | Wolfgang Denk <wd@denx.de> | 2010-11-21 19:55:42 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-27 22:35:09 (GMT) |
commit | ee8028b7f108bd049eb389f01b590be0b75adaf6 (patch) | |
tree | 6435e52a6bdc2f6f39d405e83584351793df1d3b /board/amcc/bamboo/Makefile | |
parent | c08e5cf7c7cef0db7e85cd8aa14d279221ed2480 (diff) | |
download | u-boot-ee8028b7f108bd049eb389f01b590be0b75adaf6.tar.xz |
ppc4xx: Cleanup for partial linking and --gc-sections
This commit adapts 4xx boards for partial linking with --gc-sections.
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Tirumala Marri <tmarri@apm.com>
Cc: David Updegraff <dave@cray.com>
Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Cc: Dirk Eibach <eibach@gdsys.de>
Cc: Larry Johnson <lrj@acm.org>
Cc: Peter De Schrijver <p2@mind.be>
Cc: Niklaus Giger <niklaus.giger@netstal.com>
Cc: Daniel Poirot <dan.poirot@windriver.com>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/bamboo/Makefile')
-rw-r--r-- | board/amcc/bamboo/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/amcc/bamboo/Makefile b/board/amcc/bamboo/Makefile index 7c0f50f..2e7dc39 100644 --- a/board/amcc/bamboo/Makefile +++ b/board/amcc/bamboo/Makefile @@ -32,8 +32,10 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) -$(LIB): $(OBJS) $(SOBJS) - $(call cmd_link_o_target, $(OBJS) $(SOBJS)) +all: $(LIB) $(SOBJS) + +$(LIB): $(OBJS) + $(call cmd_link_o_target, $^) clean: rm -f $(SOBJS) $(OBJS) |