summaryrefslogtreecommitdiff
path: root/board/amcc/bamboo/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-11-21 20:55:42 +0100
committerWolfgang Denk <wd@denx.de>2010-11-27 23:35:09 +0100
commitee8028b7f108bd049eb389f01b590be0b75adaf6 (patch)
tree6435e52a6bdc2f6f39d405e83584351793df1d3b /board/amcc/bamboo/Makefile
parentc08e5cf7c7cef0db7e85cd8aa14d279221ed2480 (diff)
downloadu-boot-imx-ee8028b7f108bd049eb389f01b590be0b75adaf6.zip
u-boot-imx-ee8028b7f108bd049eb389f01b590be0b75adaf6.tar.gz
u-boot-imx-ee8028b7f108bd049eb389f01b590be0b75adaf6.tar.bz2
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/Makefile6
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)