]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/s5pc1xx/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / s5pc1xx / Makefile
index 263945f4e77d9b5d0ea8b250acfb4bf5c36efba7..b182bf5a4915e26ba5bb2752e6ede79860efdab0 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(SOC).a
+LIB    = $(obj)lib$(SOC).o
 
 SOBJS  = cache.o
 SOBJS  += reset.o
@@ -40,7 +40,7 @@ OBJS  := $(addprefix $(obj),$(COBJS) $(SOBJS))
 all:    $(obj).depend $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################