]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/arm720t/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / arch / arm / cpu / arm720t / Makefile
index d5ac7d3fd980e66e909bbe55dadaf3c3906c3737..1a097b5d985a7d78c688b0bb81c5471c26ef7faf 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(CPU).a
+LIB    = $(obj)lib$(CPU).o
 
 START  = start.o
 COBJS  = interrupts.o cpu.o
@@ -35,7 +35,7 @@ START := $(addprefix $(obj),$(START))
 all:   $(obj).depend $(START) $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################