]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/sequoia/Makefile
ppc4xx: Cleanup for partial linking and --gc-sections
[karo-tx-uboot.git] / board / amcc / sequoia / Makefile
index 50851381eeab5d7ec8540ef7215385bf6577a36a..efe2065e4a50f25fc71f14375cd21c730f32f59e 100644 (file)
@@ -34,8 +34,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)