]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/xes/xpedite550x/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / xes / xpedite550x / Makefile
index 8980a4b3f6aae87a08873aee5243009492aa9123..bafa753775b7b75926508fa002d8c7a1aa6cceb0 100644 (file)
@@ -9,7 +9,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        += $(BOARD).o
 COBJS-y        += ddr.o
@@ -21,13 +21,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))
 
 #########################################################################