]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/xes/xpedite537x/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / xes / xpedite537x / Makefile
index 919397c40d5148bc3debcc3e2485c932ad3a066b..6b8d5a25ca1fd8493e82618330be1e2dfc0832e6 100644 (file)
@@ -15,7 +15,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        += $(BOARD).o
 COBJS-y        += ddr.o
@@ -27,13 +27,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(OBJS) $(SOBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################