]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/spear/spear310/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-imx
[people/ms/u-boot.git] / board / spear / spear310 / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index e67e941..6dce093
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := spear310.o
 SOBJS  :=
@@ -33,7 +33,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)