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