Merge branch 'ext4'
[oweals/u-boot.git] / arch / arm / cpu / arm926ejs / mx27 / Makefile
index 67d1b0e30376be3e0e765e6f1259caca646de76b..0e112b34f4d7a49b173a84662dc729165bffcd93 100644 (file)
@@ -22,7 +22,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(SOC).a
+LIB    = $(obj)lib$(SOC).o
 
 COBJS  = generic.o reset.o timer.o
 
@@ -32,7 +32,7 @@ OBJS  := $(addprefix $(obj),$(SOBJS) $(COBJS))
 all:   $(obj).depend $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################