diff options
author | Wolfgang Denk | 2010-11-21 20:55:42 +0100 |
---|---|---|
committer | Wolfgang Denk | 2010-11-27 23:35:09 +0100 |
commit | ee8028b7f108bd049eb389f01b590be0b75adaf6 (patch) | |
tree | 6435e52a6bdc2f6f39d405e83584351793df1d3b /board/korat | |
parent | c08e5cf7c7cef0db7e85cd8aa14d279221ed2480 (diff) |
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/korat')
-rw-r--r-- | board/korat/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/korat/Makefile b/board/korat/Makefile index 83b4d61bcbd..6781596e7b7 100644 --- a/board/korat/Makefile +++ b/board/korat/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) |