From ee8028b7f108bd049eb389f01b590be0b75adaf6 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 21 Nov 2010 20:55:42 +0100 Subject: ppc4xx: Cleanup for partial linking and --gc-sections This commit adapts 4xx boards for partial linking with --gc-sections. Signed-off-by: Stefan Roese Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Tirumala Marri Cc: David Updegraff Cc: Matthias Fuchs Cc: Dirk Eibach Cc: Larry Johnson Cc: Peter De Schrijver Cc: Niklaus Giger Cc: Daniel Poirot Acked-by: Stefan Roese --- board/netstal/hcu5/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'board/netstal/hcu5/Makefile') diff --git a/board/netstal/hcu5/Makefile b/board/netstal/hcu5/Makefile index 53487653b69..280c2f668e3 100644 --- a/board/netstal/hcu5/Makefile +++ b/board/netstal/hcu5/Makefile @@ -34,7 +34,9 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) -$(LIB): $(OBJS) $(SOBJS) +all: $(LIB) $(SOBJS) + +$(LIB): $(OBJS) $(call cmd_link_o_target, $^) clean: -- cgit v1.2.3