]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mpc8541cds/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / freescale / mpc8541cds / Makefile
index 98f153056d5c3821df09df368579b475cb505611..ff2e266f3be88f1ec65c6c37e2d783ffb647fccc 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        += $(BOARD).o
+COBJS-y        += ddr.o
 COBJS-y        += law.o
 COBJS-y        += tlb.o
 
@@ -35,13 +36,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))
 
 #########################################################################