summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-24 21:12:36 -0400
committerRemy Bohmer <linux@bohmer.net>2011-06-25 09:53:10 +0200
commit181f565c2d78bd33483aff6fd71105e947c16baa (patch)
tree04f91adb5f88c03b1469a7dbf28964e207265c7d
parentae46d2a952b9f061b8b2b6c9e03b18274b48a30e (diff)
downloadu-boot-imx-181f565c2d78bd33483aff6fd71105e947c16baa.zip
u-boot-imx-181f565c2d78bd33483aff6fd71105e947c16baa.tar.gz
u-boot-imx-181f565c2d78bd33483aff6fd71105e947c16baa.tar.bz2
usb: convert to partial linking
Looks like this was missed during the conversion to partial linking. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--Makefile2
-rw-r--r--drivers/usb/eth/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6bb5494..e765453 100644
--- 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
diff --git a/drivers/usb/eth/Makefile b/drivers/usb/eth/Makefile
index 6a5f25a..a8e9eff 100644
--- a/drivers/usb/eth/Makefile
+++ b/drivers/usb/eth/Makefile
@@ -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))
#########################################################################