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