xref: /openbmc/linux/drivers/usb/gadget/Makefile (revision 95e9fd10)
1#
2# USB peripheral controller drivers
3#
4ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
5
6obj-$(CONFIG_USB_GADGET)	+= udc-core.o
7obj-$(CONFIG_USB_DUMMY_HCD)	+= dummy_hcd.o
8obj-$(CONFIG_USB_NET2272)	+= net2272.o
9obj-$(CONFIG_USB_NET2280)	+= net2280.o
10obj-$(CONFIG_USB_AMD5536UDC)	+= amd5536udc.o
11obj-$(CONFIG_USB_PXA25X)	+= pxa25x_udc.o
12obj-$(CONFIG_USB_PXA27X)	+= pxa27x_udc.o
13obj-$(CONFIG_USB_IMX)		+= imx_udc.o
14obj-$(CONFIG_USB_GOKU)		+= goku_udc.o
15obj-$(CONFIG_USB_OMAP)		+= omap_udc.o
16obj-$(CONFIG_USB_S3C2410)	+= s3c2410_udc.o
17obj-$(CONFIG_USB_AT91)		+= at91_udc.o
18obj-$(CONFIG_USB_ATMEL_USBA)	+= atmel_usba_udc.o
19obj-$(CONFIG_USB_FSL_USB2)	+= fsl_usb2_udc.o
20fsl_usb2_udc-y			:= fsl_udc_core.o
21fsl_usb2_udc-$(CONFIG_ARCH_MXC)	+= fsl_mxc_udc.o
22obj-$(CONFIG_USB_M66592)	+= m66592-udc.o
23obj-$(CONFIG_USB_R8A66597)	+= r8a66597-udc.o
24obj-$(CONFIG_USB_FSL_QE)	+= fsl_qe_udc.o
25obj-$(CONFIG_USB_S3C_HSOTG)	+= s3c-hsotg.o
26obj-$(CONFIG_USB_S3C_HSUDC)	+= s3c-hsudc.o
27obj-$(CONFIG_USB_LPC32XX)	+= lpc32xx_udc.o
28obj-$(CONFIG_USB_EG20T)		+= pch_udc.o
29obj-$(CONFIG_USB_MV_UDC)	+= mv_udc.o
30mv_udc-y			:= mv_udc_core.o
31obj-$(CONFIG_USB_FUSB300)	+= fusb300_udc.o
32obj-$(CONFIG_USB_MV_U3D)	+= mv_u3d_core.o
33
34#
35# USB gadget drivers
36#
37g_zero-y			:= zero.o
38g_audio-y			:= audio.o
39g_ether-y			:= ether.o
40g_serial-y			:= serial.o
41g_midi-y			:= gmidi.o
42gadgetfs-y			:= inode.o
43g_file_storage-y		:= file_storage.o
44g_mass_storage-y		:= mass_storage.o
45g_printer-y			:= printer.o
46g_cdc-y				:= cdc2.o
47g_multi-y			:= multi.o
48g_hid-y				:= hid.o
49g_dbgp-y			:= dbgp.o
50g_nokia-y			:= nokia.o
51g_webcam-y			:= webcam.o
52g_ncm-y				:= ncm.o
53g_acm_ms-y			:= acm_ms.o
54g_tcm_usb_gadget-y		:= tcm_usb_gadget.o
55
56obj-$(CONFIG_USB_ZERO)		+= g_zero.o
57obj-$(CONFIG_USB_AUDIO)		+= g_audio.o
58obj-$(CONFIG_USB_ETH)		+= g_ether.o
59obj-$(CONFIG_USB_GADGETFS)	+= gadgetfs.o
60obj-$(CONFIG_USB_FUNCTIONFS)	+= g_ffs.o
61obj-$(CONFIG_USB_FILE_STORAGE)	+= g_file_storage.o
62obj-$(CONFIG_USB_MASS_STORAGE)	+= g_mass_storage.o
63obj-$(CONFIG_USB_G_SERIAL)	+= g_serial.o
64obj-$(CONFIG_USB_G_PRINTER)	+= g_printer.o
65obj-$(CONFIG_USB_MIDI_GADGET)	+= g_midi.o
66obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
67obj-$(CONFIG_USB_G_HID)		+= g_hid.o
68obj-$(CONFIG_USB_G_DBGP)	+= g_dbgp.o
69obj-$(CONFIG_USB_G_MULTI)	+= g_multi.o
70obj-$(CONFIG_USB_G_NOKIA)	+= g_nokia.o
71obj-$(CONFIG_USB_G_WEBCAM)	+= g_webcam.o
72obj-$(CONFIG_USB_G_NCM)		+= g_ncm.o
73obj-$(CONFIG_USB_G_ACM_MS)	+= g_acm_ms.o
74obj-$(CONFIG_USB_GADGET_TARGET)	+= tcm_usb_gadget.o
75