]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mpc8568mds/Makefile
mxs: Convert sys_proto.h prefixes to 'mxs'
[u-boot] / board / freescale / mpc8568mds / Makefile
index d499fb31e2f896e93363d37ba54a04040ae20c40..d0b7b1bf22ecc277aedae04a86031561e2e78063 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        += bcsr.o
@@ -37,13 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(OBJS) $(SOBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################