]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/esd/pmc440/Makefile
ppc4xx: Cleanup for partial linking and --gc-sections
[karo-tx-uboot.git] / board / esd / pmc440 / Makefile
index b2f4465832522321ea21b4f6f439d7810c7092e4..f640d1e0085670dae7b87f45a9bf4ccf563a80ce 100644 (file)
@@ -37,8 +37,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)