2013-02-01 16:53:17 +08:00
|
|
|
# usb subsystem core
|
2015-03-17 21:52:54 +08:00
|
|
|
common-obj-y += core.o combined-packet.o bus.o libhw.o
|
|
|
|
common-obj-$(CONFIG_USB) += desc.o desc-msos.o
|
2013-02-01 16:53:17 +08:00
|
|
|
|
|
|
|
# usb host adapters
|
2012-10-06 01:39:33 +08:00
|
|
|
common-obj-$(CONFIG_USB_UHCI) += hcd-uhci.o
|
|
|
|
common-obj-$(CONFIG_USB_OHCI) += hcd-ohci.o
|
2015-02-18 13:01:01 +08:00
|
|
|
common-obj-$(CONFIG_USB_EHCI) += hcd-ehci.o hcd-ehci-pci.o
|
|
|
|
common-obj-$(CONFIG_USB_EHCI_SYSBUS) += hcd-ehci-sysbus.o
|
2012-10-06 01:39:33 +08:00
|
|
|
common-obj-$(CONFIG_USB_XHCI) += hcd-xhci.o
|
2013-02-05 19:23:23 +08:00
|
|
|
common-obj-$(CONFIG_USB_MUSB) += hcd-musb.o
|
2012-05-29 17:10:55 +08:00
|
|
|
|
2013-02-01 16:53:17 +08:00
|
|
|
# emulated usb devices
|
2015-03-17 21:52:54 +08:00
|
|
|
common-obj-$(CONFIG_USB) += dev-hub.o
|
|
|
|
common-obj-$(CONFIG_USB) += dev-hid.o
|
2013-02-01 17:49:43 +08:00
|
|
|
common-obj-$(CONFIG_USB_TABLET_WACOM) += dev-wacom.o
|
|
|
|
common-obj-$(CONFIG_USB_STORAGE_BOT) += dev-storage.o
|
|
|
|
common-obj-$(CONFIG_USB_STORAGE_UAS) += dev-uas.o
|
|
|
|
common-obj-$(CONFIG_USB_AUDIO) += dev-audio.o
|
|
|
|
common-obj-$(CONFIG_USB_SERIAL) += dev-serial.o
|
|
|
|
common-obj-$(CONFIG_USB_NETWORK) += dev-network.o
|
|
|
|
common-obj-$(CONFIG_USB_BLUETOOTH) += dev-bluetooth.o
|
2013-03-01 20:59:19 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_USB_SMARTCARD),y)
|
|
|
|
common-obj-y += dev-smartcard-reader.o
|
|
|
|
common-obj-y += ccid-card-passthru.o
|
|
|
|
common-obj-$(CONFIG_SMARTCARD_NSS) += ccid-card-emulated.o
|
2014-05-08 20:48:27 +08:00
|
|
|
ccid-card-emulated.o-cflags := -I$(SRC_PATH)/libcacard
|
2013-03-01 20:59:19 +08:00
|
|
|
endif
|
2013-02-01 16:53:17 +08:00
|
|
|
|
2012-10-18 16:26:09 +08:00
|
|
|
ifeq ($(CONFIG_POSIX),y)
|
|
|
|
common-obj-$(CONFIG_USB_STORAGE_MTP) += dev-mtp.o
|
|
|
|
endif
|
|
|
|
|
2013-02-01 16:53:17 +08:00
|
|
|
# usb redirection
|
2012-12-19 22:08:33 +08:00
|
|
|
common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
|
2012-05-29 17:10:55 +08:00
|
|
|
|
2013-02-01 16:53:17 +08:00
|
|
|
# usb pass-through
|
2013-01-23 21:15:38 +08:00
|
|
|
common-obj-y += $(patsubst %,host-%.o,$(HOST_USB))
|