]> git.sur5r.net Git - u-boot/blobdiff - board/xilinx/microblaze-generic/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-avr32
[u-boot] / board / xilinx / microblaze-generic / Makefile
index 10b47b2ae54cb1436c8b68960685912695055e84..761203dcfcdee5805f3c18df3c3cb124ff677df6 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o
 
@@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $^
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $^)
 
 #########################################################################