]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/phy/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / drivers / usb / phy / Makefile
index f09e55fd4c30b3b38d9a2f78a40347e46fa7d8bb..55475709f5ddc456a7d3d490154dcb206c9d87a6 100644 (file)
@@ -20,7 +20,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)libusb_phy.a
+LIB    := $(obj)libusb_phy.o
 
 COBJS-$(CONFIG_TWL4030_USB) += twl4030.o
 
@@ -31,7 +31,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################