]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/sbc405/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / sbc405 / Makefile
index 1c60447e85483ac51c5d52c111cc9804538f0649..c9ec62d866a28738706af29993b7a9b0c8c5ae18 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o strataflash.o
 
@@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################