]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/arm926ejs/orion5x/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / arch / arm / cpu / arm926ejs / orion5x / Makefile
index 11f4141bffdacc9e71cbbc8557dbd6020559c9b4..e5a9994e6bc072ba604025fcaa0a35790dd43985 100644 (file)
@@ -27,7 +27,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(SOC).a
+LIB    = $(obj)lib$(SOC).o
 
 COBJS-y        = cpu.o
 COBJS-y        += dram.o
@@ -43,7 +43,7 @@ OBJS  := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
 all:   $(obj).depend $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################