]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/rpxsuper/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
[karo-tx-uboot.git] / board / rpxsuper / Makefile
index a749e26cce6ccf440941c586650e8ebb13c8791e..2e68457930c839b3d8d14520d2f6ed0aa74b0bb2 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := rpxsuper.o flash.o mii_phy.o
 
@@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 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))
 
 #########################################################################