2 common-obj-y += core.o combined-packet.o bus.o libhw.o
3 common-obj-$(CONFIG_USB) += desc.o desc-msos.o
6 common-obj-$(CONFIG_USB_UHCI) += hcd-uhci.o
7 common-obj-$(CONFIG_USB_OHCI) += hcd-ohci.o
8 common-obj-$(CONFIG_USB_OHCI_PCI) += hcd-ohci-pci.o
9 common-obj-$(CONFIG_USB_EHCI) += hcd-ehci.o
10 common-obj-$(CONFIG_USB_EHCI_PCI) += hcd-ehci-pci.o
11 common-obj-$(CONFIG_USB_EHCI_SYSBUS) += hcd-ehci-sysbus.o
12 common-obj-$(CONFIG_USB_XHCI) += hcd-xhci.o
13 common-obj-$(CONFIG_USB_XHCI_NEC) += hcd-xhci-nec.o
14 common-obj-$(CONFIG_USB_MUSB) += hcd-musb.o
16 common-obj-$(CONFIG_TUSB6010) += tusb6010.o
17 common-obj-$(CONFIG_IMX) += chipidea.o
19 # emulated usb devices
20 common-obj-$(CONFIG_USB) += dev-hub.o
21 common-obj-$(CONFIG_USB) += dev-hid.o
22 common-obj-$(CONFIG_USB_TABLET_WACOM) += dev-wacom.o
23 common-obj-$(CONFIG_USB_STORAGE_BOT) += dev-storage.o
24 common-obj-$(CONFIG_USB_STORAGE_UAS) += dev-uas.o
25 common-obj-$(CONFIG_USB_AUDIO) += dev-audio.o
26 common-obj-$(CONFIG_USB_SERIAL) += dev-serial.o
27 common-obj-$(CONFIG_USB_NETWORK) += dev-network.o
29 ifeq ($(CONFIG_USB_SMARTCARD),y)
30 common-obj-y += dev-smartcard-reader.o
31 common-obj-$(CONFIG_SMARTCARD) += smartcard.mo
32 smartcard.mo-objs := ccid-card-passthru.o ccid-card-emulated.o
33 smartcard.mo-cflags := $(SMARTCARD_CFLAGS)
34 smartcard.mo-libs := $(SMARTCARD_LIBS)
37 ifeq ($(CONFIG_POSIX),y)
38 common-obj-$(CONFIG_USB_STORAGE_MTP) += dev-mtp.o
42 ifeq ($(CONFIG_USB),y)
43 common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
44 redirect.o-cflags = $(USB_REDIR_CFLAGS)
45 redirect.o-libs = $(USB_REDIR_LIBS)
49 ifeq ($(CONFIG_USB_LIBUSB)$(CONFIG_USB),yy)
50 common-obj-y += host-libusb.o
52 common-obj-y += host-stub.o
54 common-obj-$(CONFIG_ALL) += host-stub.o
56 host-libusb.o-cflags := $(LIBUSB_CFLAGS)
57 host-libusb.o-libs := $(LIBUSB_LIBS)
59 ifeq ($(CONFIG_USB_LIBUSB),y)
60 common-obj-$(CONFIG_XEN) += xen-usb.o
61 xen-usb.o-cflags := $(LIBUSB_CFLAGS)
62 xen-usb.o-libs := $(LIBUSB_LIBS)
65 common-obj-$(CONFIG_IMX_USBPHY) += imx-usb-phy.o