]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/cpci2dp/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / esd / cpci2dp / Makefile
index 72c25625b31aeba917cc46932c56d4a8ae5b7fce..840c537c7b957568280ac9e92bf76b739b26ba81 100644 (file)
@@ -26,7 +26,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 endif
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o flash.o ../common/misc.o ../common/cmd_loadpci.o
 
@@ -35,13 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) crv $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################