]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc86xx/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc86xx / Makefile
index daca79ad4f2217ec4a2775808dd83a3f1f50a0ff..9b2db1bccb6483fd28c4b570345c045d9c4f32cb 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(CPU).a
+LIB    = $(obj)lib$(CPU).o
 
 START  = start.o
 
@@ -51,7 +51,7 @@ START := $(addprefix $(obj),$(START))
 all:   $(obj).depend $(START) $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(ASOBJS) $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################