pci: conventional-pci-device and pci-express-device interfaces
[qemu/kevin.git] / hw / usb / Makefile.objs
blobbdfead6701a2ff1747c49440c749905aadc049ea
1 # usb subsystem core
2 common-obj-y += core.o combined-packet.o bus.o libhw.o
3 common-obj-$(CONFIG_USB) += desc.o desc-msos.o
5 # usb host adapters
6 common-obj-$(CONFIG_USB_UHCI) += hcd-uhci.o
7 common-obj-$(CONFIG_USB_OHCI) += hcd-ohci.o
8 common-obj-$(CONFIG_USB_EHCI) += hcd-ehci.o hcd-ehci-pci.o
9 common-obj-$(CONFIG_USB_EHCI_SYSBUS) += hcd-ehci-sysbus.o
10 common-obj-$(CONFIG_USB_XHCI) += hcd-xhci.o
11 common-obj-$(CONFIG_USB_XHCI_NEC) += hcd-xhci-nec.o
12 common-obj-$(CONFIG_USB_MUSB) += hcd-musb.o
14 obj-$(CONFIG_TUSB6010) += tusb6010.o
16 # emulated usb devices
17 common-obj-$(CONFIG_USB) += dev-hub.o
18 common-obj-$(CONFIG_USB) += dev-hid.o
19 common-obj-$(CONFIG_USB_TABLET_WACOM) += dev-wacom.o
20 common-obj-$(CONFIG_USB_STORAGE_BOT)  += dev-storage.o
21 common-obj-$(CONFIG_USB_STORAGE_UAS)  += dev-uas.o
22 common-obj-$(CONFIG_USB_AUDIO)        += dev-audio.o
23 common-obj-$(CONFIG_USB_SERIAL)       += dev-serial.o
24 common-obj-$(CONFIG_USB_NETWORK)      += dev-network.o
25 common-obj-$(CONFIG_USB_BLUETOOTH)    += dev-bluetooth.o
27 ifeq ($(CONFIG_USB_SMARTCARD),y)
28 common-obj-y                          += dev-smartcard-reader.o
29 common-obj-$(CONFIG_SMARTCARD)        += smartcard.mo
30 smartcard.mo-objs := ccid-card-passthru.o ccid-card-emulated.o
31 smartcard.mo-cflags := $(SMARTCARD_CFLAGS)
32 smartcard.mo-libs := $(SMARTCARD_LIBS)
33 endif
35 ifeq ($(CONFIG_POSIX),y)
36 common-obj-$(CONFIG_USB_STORAGE_MTP)  += dev-mtp.o
37 endif
39 # usb redirection
40 common-obj-$(CONFIG_USB_REDIR) += redirect.o quirks.o
41 redirect.o-cflags = $(USB_REDIR_CFLAGS)
42 redirect.o-libs = $(USB_REDIR_LIBS)
44 # usb pass-through
45 ifeq ($(CONFIG_USB_LIBUSB)$(CONFIG_USB),yy)
46 common-obj-y += host-libusb.o host-legacy.o
47 else
48 common-obj-y += host-stub.o
49 endif
50 common-obj-$(CONFIG_ALL) += host-stub.o
52 host-libusb.o-cflags := $(LIBUSB_CFLAGS)
53 host-libusb.o-libs := $(LIBUSB_LIBS)
55 ifeq ($(CONFIG_USB_LIBUSB),y)
56 common-obj-$(CONFIG_XEN) += xen-usb.o
57 xen-usb.o-cflags := $(LIBUSB_CFLAGS)
58 xen-usb.o-libs := $(LIBUSB_LIBS)
59 endif