]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
usb: convert to partial linking
authorMike Frysinger <vapier@gentoo.org>
Sat, 25 Jun 2011 01:12:36 +0000 (21:12 -0400)
committerRemy Bohmer <linux@bohmer.net>
Sat, 25 Jun 2011 07:53:10 +0000 (09:53 +0200)
Looks like this was missed during the conversion to partial linking.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile
drivers/usb/eth/Makefile

index 6bb54948d0a86cc9849bd603cc9f018df1bcecc8..e7654539b1cd913bd2320c2f975e6e8532aaafe1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -266,7 +266,7 @@ endif
 LIBS += drivers/rtc/librtc.o
 LIBS += drivers/serial/libserial.o
 LIBS += drivers/twserial/libtws.o
-LIBS += drivers/usb/eth/libusb_eth.a
+LIBS += drivers/usb/eth/libusb_eth.o
 LIBS += drivers/usb/gadget/libusb_gadget.o
 LIBS += drivers/usb/host/libusb_host.o
 LIBS += drivers/usb/musb/libusb_musb.o
index 6a5f25a3861f6592b2cdaa4f173cd0f533266a29..a8e9eff911bfb4a571450fbe6e55dab921e4fda9 100644 (file)
@@ -21,7 +21,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)libusb_eth.a
+LIB    := $(obj)libusb_eth.o
 
 # new USB host ethernet layer dependencies
 COBJS-$(CONFIG_USB_HOST_ETHER) += usb_ether.o
@@ -36,7 +36,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################