xref: /openbmc/linux/drivers/usb/host/Makefile (revision cd5d5810)
1#
2# Makefile for USB Host Controller Drivers
3#
4
5ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
6
7# tell define_trace.h where to find the xhci trace header
8CFLAGS_xhci-trace.o := -I$(src)
9
10isp1760-y := isp1760-hcd.o isp1760-if.o
11
12fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
13fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o
14
15fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o
16
17xhci-hcd-y := xhci.o xhci-mem.o
18xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
19xhci-hcd-y += xhci-trace.o
20xhci-hcd-$(CONFIG_PCI)	+= xhci-pci.o
21
22ifneq ($(CONFIG_USB_XHCI_PLATFORM), )
23	xhci-hcd-y		+= xhci-plat.o
24endif
25
26obj-$(CONFIG_USB_WHCI_HCD)	+= whci/
27
28obj-$(CONFIG_PCI)		+= pci-quirks.o
29
30obj-$(CONFIG_USB_EHCI_HCD)	+= ehci-hcd.o
31obj-$(CONFIG_USB_EHCI_PCI)	+= ehci-pci.o
32obj-$(CONFIG_USB_EHCI_HCD_PLATFORM)	+= ehci-platform.o
33obj-$(CONFIG_USB_EHCI_MXC)	+= ehci-mxc.o
34obj-$(CONFIG_USB_EHCI_HCD_OMAP)	+= ehci-omap.o
35obj-$(CONFIG_USB_EHCI_HCD_ORION)	+= ehci-orion.o
36obj-$(CONFIG_USB_EHCI_HCD_SPEAR)	+= ehci-spear.o
37obj-$(CONFIG_USB_EHCI_S5P)	+= ehci-s5p.o
38obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci-atmel.o
39obj-$(CONFIG_USB_EHCI_MSM)	+= ehci-msm.o
40obj-$(CONFIG_USB_EHCI_TEGRA)	+= ehci-tegra.o
41
42obj-$(CONFIG_USB_OXU210HP_HCD)	+= oxu210hp-hcd.o
43obj-$(CONFIG_USB_ISP116X_HCD)	+= isp116x-hcd.o
44obj-$(CONFIG_USB_ISP1362_HCD)	+= isp1362-hcd.o
45
46obj-$(CONFIG_USB_OHCI_HCD)	+= ohci-hcd.o
47obj-$(CONFIG_USB_OHCI_HCD_PCI)	+= ohci-pci.o
48obj-$(CONFIG_USB_OHCI_HCD_PLATFORM)	+= ohci-platform.o
49
50obj-$(CONFIG_USB_UHCI_HCD)	+= uhci-hcd.o
51obj-$(CONFIG_USB_FHCI_HCD)	+= fhci.o
52obj-$(CONFIG_USB_XHCI_HCD)	+= xhci-hcd.o
53obj-$(CONFIG_USB_SL811_HCD)	+= sl811-hcd.o
54obj-$(CONFIG_USB_SL811_CS)	+= sl811_cs.o
55obj-$(CONFIG_USB_U132_HCD)	+= u132-hcd.o
56obj-$(CONFIG_USB_R8A66597_HCD)	+= r8a66597-hcd.o
57obj-$(CONFIG_USB_ISP1760_HCD)	+= isp1760.o
58obj-$(CONFIG_USB_HWA_HCD)	+= hwa-hc.o
59obj-$(CONFIG_USB_IMX21_HCD)	+= imx21-hcd.o
60obj-$(CONFIG_USB_FSL_MPH_DR_OF)	+= fsl-mph-dr-of.o
61obj-$(CONFIG_USB_OCTEON2_COMMON) += octeon2-common.o
62obj-$(CONFIG_USB_HCD_BCMA)	+= bcma-hcd.o
63obj-$(CONFIG_USB_HCD_SSB)	+= ssb-hcd.o
64obj-$(CONFIG_USB_FUSBH200_HCD)	+= fusbh200-hcd.o
65obj-$(CONFIG_USB_FOTG210_HCD)	+= fotg210-hcd.o
66