]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/powerpc/cpu/mpc85xx/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / arch / powerpc / cpu / mpc85xx / Makefile
index b7c027210527255e16361b2222a62ead50e02307..63d79233d5a5dae30b5403cf2e085494927f14be 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(CPU).a
+LIB    = $(obj)lib$(CPU).o
 
 START  = start.o resetvec.o
 SOBJS-$(CONFIG_MP)     += release.o
@@ -95,7 +95,7 @@ START := $(addprefix $(obj),$(START))
 all:   $(obj).depend $(START) $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################