usb: gadget: dummy_hcd: Fix error path
[deliverable/linux.git] / drivers / usb / musb / Makefile
CommitLineData
550a7375
FB
1#
2# for USB OTG silicon based on Mentor Graphics INVENTRA designs
3#
4
5musb_hdrc-objs := musb_core.o
6
7obj-$(CONFIG_USB_MUSB_HDRC) += musb_hdrc.o
8
c6a39eec 9ifeq ($(CONFIG_ARCH_DAVINCI_DMx),y)
550a7375
FB
10 musb_hdrc-objs += davinci.o
11endif
12
3ee076de
SS
13ifeq ($(CONFIG_ARCH_DAVINCI_DA8XX),y)
14 musb_hdrc-objs += da8xx.o
15endif
16
550a7375
FB
17ifeq ($(CONFIG_USB_TUSB6010),y)
18 musb_hdrc-objs += tusb6010.o
19endif
20
21ifeq ($(CONFIG_ARCH_OMAP2430),y)
22 musb_hdrc-objs += omap2430.o
23endif
24
25ifeq ($(CONFIG_ARCH_OMAP3430),y)
26 musb_hdrc-objs += omap2430.o
27endif
28
c71b1b9c
MM
29ifeq ($(CONFIG_ARCH_OMAP4),y)
30 musb_hdrc-objs += omap2430.o
31endif
32
085ad406
BW
33ifeq ($(CONFIG_BF54x),y)
34 musb_hdrc-objs += blackfin.o
35endif
36
37ifeq ($(CONFIG_BF52x),y)
38 musb_hdrc-objs += blackfin.o
39endif
40
550a7375
FB
41ifeq ($(CONFIG_USB_GADGET_MUSB_HDRC),y)
42 musb_hdrc-objs += musb_gadget_ep0.o musb_gadget.o
43endif
44
45ifeq ($(CONFIG_USB_MUSB_HDRC_HCD),y)
46 musb_hdrc-objs += musb_virthub.o musb_host.o
47endif
48
7f7f9e2a
FB
49ifeq ($(CONFIG_DEBUG_FS),y)
50 musb_hdrc-objs += musb_debugfs.o
51endif
52
550a7375
FB
53# the kconfig must guarantee that only one of the
54# possible I/O schemes will be enabled at a time ...
55# PIO only, or DMA (several potential schemes).
56# though PIO is always there to back up DMA, and for ep0
57
58ifneq ($(CONFIG_MUSB_PIO_ONLY),y)
59
60 ifeq ($(CONFIG_USB_INVENTRA_DMA),y)
61 musb_hdrc-objs += musbhsdma.o
62
63 else
64 ifeq ($(CONFIG_USB_TI_CPPI_DMA),y)
65 musb_hdrc-objs += cppi_dma.o
66
67 else
68 ifeq ($(CONFIG_USB_TUSB_OMAP_DMA),y)
69 musb_hdrc-objs += tusb6010_omap.o
70
71 endif
72 endif
73 endif
74endif
75
76
77################################################################################
78
550a7375
FB
79# Debugging
80
25013315 81ccflags-$(CONFIG_USB_MUSB_DEBUG) := -DDEBUG
This page took 0.274363 seconds and 5 git commands to generate.