]> git.sur5r.net Git - u-boot/blobdiff - board/v37/Makefile
Merge branch 'master' of /home/wd/git/u-boot/custodians
[u-boot] / board / v37 / Makefile
index b42026981f5ec0133bede8197f7c62ba8a368e54..9b00eb0994ceac5e4f1b4c9c179f2ec6c8754c74 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o flash.o
 
@@ -32,7 +32,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################