]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/twserial/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / drivers / twserial / Makefile
index 0b059f312bd355221b265a31f33a388c385b8360..6c9a987e8f620d5c1d6a9d418aaa61bb4eda5346 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)libtws.a
+LIB    := $(obj)libtws.o
 
 COBJS-$(CONFIG_SOFT_TWS) += soft_tws.o
 
@@ -34,7 +34,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################