]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/p2020ds/Makefile
powerpc/85xx: add support for the Freescale P5040DS Superhydra reference board
[u-boot] / board / freescale / p2020ds / Makefile
index 41032ace4269e9b0db1c8edd72ae91986acc577b..03b21c9c195452b5effc49ba8c94cb51a5f8e184 100644 (file)
@@ -24,7 +24,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        += $(BOARD).o
 COBJS-y        += ddr.o
@@ -36,13 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(OBJS) $(SOBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################