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 ifeq ($(CONFIG_SMARTCARD),y)
33 common-obj-m += smartcard.mo
34 smartcard.mo-objs := ccid-card-passthru.o ccid-card-emulated.o
35 smartcard.mo-cflags := $(SMARTCARD_CFLAGS)
36 smartcard.mo-libs := $(SMARTCARD_LIBS)
40 ifeq ($(CONFIG_POSIX),y)
41 common-obj-$(CONFIG_USB_STORAGE_MTP) += dev-mtp.o
45 ifeq ($(CONFIG_USB),y)
46 ifeq ($(CONFIG_USB_REDIR),y)
47 common-obj-m += redirect.mo
48 redirect.mo-objs = redirect.o quirks.o
49 redirect.mo-cflags = $(USB_REDIR_CFLAGS)
50 redirect.mo-libs = $(USB_REDIR_LIBS)
55 ifeq ($(CONFIG_USB_LIBUSB)$(CONFIG_USB),yy)
56 common-obj-y += host-libusb.o
58 common-obj-y += host-stub.o
60 common-obj-$(CONFIG_ALL) += host-stub.o
62 host-libusb.o-cflags := $(LIBUSB_CFLAGS)
63 host-libusb.o-libs := $(LIBUSB_LIBS)
65 ifeq ($(CONFIG_USB_LIBUSB),y)
66 common-obj-$(CONFIG_XEN) += xen-usb.o
67 xen-usb.o-cflags := $(LIBUSB_CFLAGS)
68 xen-usb.o-libs := $(LIBUSB_LIBS)
71 common-obj-$(CONFIG_IMX_USBPHY) += imx-usb-phy.o