]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/qe/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / drivers / qe / Makefile
index 18fe9ce614a64fcf5f69025f5e191a46b2255ac4..8e9a035e9204738be30b49cc45a579dcd76bf156 100644 (file)
@@ -22,7 +22,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)qe.a
+LIB    := $(obj)libqe.o
 
 COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
 COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
@@ -34,7 +34,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################