]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cogent/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / cogent / Makefile
index 8498aceafe3a63bd61d592d4485f1035616757a5..e7506fbb4c59d2a1aa1171ac094298d4f3df1418 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := mb.o flash.o dipsw.o lcd.o serial.o # pci.o rtc.o par.o kbm.o
 
@@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################