]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/armv7/omap3/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / arch / arm / cpu / armv7 / omap3 / Makefile
index 95526d6893da16000b116b9e9324a0ac33ab22a1..7164d505b9c893cd17935b2b19cdb293c2d674a0 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    =  $(obj)lib$(SOC).a
+LIB    =  $(obj)lib$(SOC).o
 
 SOBJS  := lowlevel_init.o
 SOBJS  += cache.o
@@ -43,7 +43,7 @@ OBJS  := $(addprefix $(obj),$(COBJS) $(COBJS-y) $(SOBJS))
 all:    $(obj).depend $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################