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