]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/Makefile
Blackfin: add support for BF538/BF539 processors
[u-boot] / drivers / usb / gadget / Makefile
index 251724f92b7dcb5a36fcfbb4db175c9f31566647..8e6b26e2610d986f83e898cb07432d3ddd82b4b7 100644 (file)
@@ -25,12 +25,20 @@ include $(TOPDIR)/config.mk
 
 LIB    := $(obj)libusb_gadget.a
 
+# new USB gadget layer dependencies
+ifdef CONFIG_USB_ETHER
+COBJS-y += ether.o epautoconf.o config.o usbstring.o
+else
+# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE
 ifdef CONFIG_USB_DEVICE
 COBJS-y += core.o
 COBJS-y += ep0.o
 COBJS-$(CONFIG_OMAP1510) += omap1510_udc.o
 COBJS-$(CONFIG_OMAP1610) += omap1510_udc.o
 COBJS-$(CONFIG_MPC885_FAMILY) += mpc8xx_udc.o
+COBJS-$(CONFIG_PXA27X) += pxa27x_udc.o
+COBJS-$(CONFIG_SPEARUDC) += spr_udc.o
+endif
 endif
 
 COBJS  := $(COBJS-y)