]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/davinci/dm6467evm/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / davinci / dm6467evm / Makefile
index 26b070546570af233892d8b639c3a4fbaf4e53e9..2b221246ae8af41621e9763b9a01b2e115a57df7 100644 (file)
@@ -25,7 +25,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := $(BOARD).o
 SOBJS  :=
@@ -35,13 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################
 # This is for $(obj).depend target