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
15 common-obj-$(CONFIG_USB_DWC2) += hcd-dwc2.o
17 common-obj-$(CONFIG_TUSB6010) += tusb6010.o
18 common-obj-$(CONFIG_IMX) += chipidea.o
20 # emulated usb devices
21 common-obj-$(CONFIG_USB) += dev-hub.o
22 common-obj-$(CONFIG_USB) += dev-hid.o
23 common-obj-$(CONFIG_USB_TABLET_WACOM) += dev-wacom.o
24 common-obj-$(CONFIG_USB_STORAGE_BOT) += dev-storage.o
25 common-obj-$(CONFIG_USB_STORAGE_UAS) += dev-uas.o
26 common-obj-$(CONFIG_USB_AUDIO) += dev-audio.o
27 common-obj-$(CONFIG_USB_SERIAL) += dev-serial.o
28 common-obj-$(CONFIG_USB_NETWORK) += dev-network.o
30 ifeq ($(CONFIG_USB_SMARTCARD),y)
31 common-obj-y += dev-smartcard-reader.o
32 common-obj-$(CONFIG_SMARTCARD) += smartcard.mo
33 smartcard.mo-objs := ccid-card-passthru.o ccid-card-emulated.o
34 smartcard.mo-cflags := $(SMARTCARD_CFLAGS)
35 smartcard.mo-libs := $(SMARTCARD_LIBS)
38 ifeq ($(CONFIG_POSIX),y)
39 common-obj-$(CONFIG_USB_STORAGE_MTP) += dev-mtp.o
43 ifeq ($(CONFIG_USB),y)
44 common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
45 redirect.o-cflags = $(USB_REDIR_CFLAGS)
46 redirect.o-libs = $(USB_REDIR_LIBS)
50 ifeq ($(CONFIG_USB_LIBUSB)$(CONFIG_USB),yy)
51 common-obj-y += host-libusb.o
53 common-obj-y += host-stub.o
55 common-obj-$(CONFIG_ALL) += host-stub.o
57 host-libusb.o-cflags := $(LIBUSB_CFLAGS)
58 host-libusb.o-libs := $(LIBUSB_LIBS)
60 ifeq ($(CONFIG_USB_LIBUSB),y)
61 common-obj-$(CONFIG_XEN) += xen-usb.o
62 xen-usb.o-cflags := $(LIBUSB_CFLAGS)
63 xen-usb.o-libs := $(LIBUSB_LIBS)
66 common-obj-$(CONFIG_IMX_USBPHY) += imx-usb-phy.o