]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/snmc/qs860t/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / snmc / qs860t / Makefile
index cf07cf40fdb9485240118667e0b22074acd7516d..6dc495c3619cabc3ecc9eabf3c7c696a9580379f 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o flash.o
 
@@ -32,7 +32,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################