c3cf77cb63
A number of ARM embedded boards include EHCI USB host controllers which appear as directly mapped devices, rather than sitting on a PCI bus. At present code to emulate such devices is included whenever EHCI support is included. This patch adjusts teh config options to only include them in builds targetting ARM by default. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
40 lines
1.4 KiB
Makefile
40 lines
1.4 KiB
Makefile
# usb subsystem core
|
|
common-obj-y += core.o combined-packet.o bus.o desc.o desc-msos.o
|
|
common-obj-y += libhw.o
|
|
|
|
# usb host adapters
|
|
common-obj-$(CONFIG_USB_UHCI) += hcd-uhci.o
|
|
common-obj-$(CONFIG_USB_OHCI) += hcd-ohci.o
|
|
common-obj-$(CONFIG_USB_EHCI) += hcd-ehci.o hcd-ehci-pci.o
|
|
common-obj-$(CONFIG_USB_EHCI_SYSBUS) += hcd-ehci-sysbus.o
|
|
common-obj-$(CONFIG_USB_XHCI) += hcd-xhci.o
|
|
common-obj-$(CONFIG_USB_MUSB) += hcd-musb.o
|
|
|
|
# emulated usb devices
|
|
common-obj-y += dev-hub.o
|
|
common-obj-y += dev-hid.o
|
|
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
|
|
|
|
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
|
|
ccid-card-emulated.o-cflags := -I$(SRC_PATH)/libcacard
|
|
endif
|
|
|
|
ifeq ($(CONFIG_POSIX),y)
|
|
common-obj-$(CONFIG_USB_STORAGE_MTP) += dev-mtp.o
|
|
endif
|
|
|
|
# usb redirection
|
|
common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
|
|
|
|
# usb pass-through
|
|
common-obj-y += $(patsubst %,host-%.o,$(HOST_USB))
|