]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/matrix_vision/common/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / matrix_vision / common / Makefile
index b496258e2cbcca0d6d9adb158fdbb5da4a1d9fd1..ae18260fb5a9a10f9dfac53e75f5af4975252052 100644 (file)
@@ -27,7 +27,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)board/$(VENDOR)/common)
 endif
 
-LIB    = $(obj)lib$(VENDOR).a
+LIB    = $(obj)lib$(VENDOR).o
 
 COBJS-y        = mv_common.o
 
@@ -36,13 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################