xref: /openbmc/linux/drivers/usb/gadget/Makefile (revision 39b6f3aa)
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 functions.o configfs.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# USB Functions
39usb_f_acm-y			:= f_acm.o
40obj-$(CONFIG_USB_F_ACM)		+= usb_f_acm.o
41usb_f_ss_lb-y			:= f_loopback.o f_sourcesink.o
42obj-$(CONFIG_USB_F_SS_LB)	+= usb_f_ss_lb.o
43obj-$(CONFIG_USB_U_SERIAL)	+= u_serial.o
44usb_f_serial-y			:= f_serial.o
45obj-$(CONFIG_USB_F_SERIAL)	+= usb_f_serial.o
46usb_f_obex-y			:= f_obex.o
47obj-$(CONFIG_USB_F_OBEX)	+= usb_f_obex.o
48
49#
50# USB gadget drivers
51#
52g_zero-y			:= zero.o
53g_audio-y			:= audio.o
54g_ether-y			:= ether.o
55g_serial-y			:= serial.o
56g_midi-y			:= gmidi.o
57gadgetfs-y			:= inode.o
58g_mass_storage-y		:= mass_storage.o
59g_printer-y			:= printer.o
60g_cdc-y				:= cdc2.o
61g_multi-y			:= multi.o
62g_hid-y				:= hid.o
63g_dbgp-y			:= dbgp.o
64g_nokia-y			:= nokia.o
65g_webcam-y			:= webcam.o
66g_ncm-y				:= ncm.o
67g_acm_ms-y			:= acm_ms.o
68g_tcm_usb_gadget-y		:= tcm_usb_gadget.o
69
70obj-$(CONFIG_USB_ZERO)		+= g_zero.o
71obj-$(CONFIG_USB_AUDIO)		+= g_audio.o
72obj-$(CONFIG_USB_ETH)		+= g_ether.o
73obj-$(CONFIG_USB_GADGETFS)	+= gadgetfs.o
74obj-$(CONFIG_USB_FUNCTIONFS)	+= g_ffs.o
75obj-$(CONFIG_USB_MASS_STORAGE)	+= g_mass_storage.o
76obj-$(CONFIG_USB_G_SERIAL)	+= g_serial.o
77obj-$(CONFIG_USB_G_PRINTER)	+= g_printer.o
78obj-$(CONFIG_USB_MIDI_GADGET)	+= g_midi.o
79obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
80obj-$(CONFIG_USB_G_HID)		+= g_hid.o
81obj-$(CONFIG_USB_G_DBGP)	+= g_dbgp.o
82obj-$(CONFIG_USB_G_MULTI)	+= g_multi.o
83obj-$(CONFIG_USB_G_NOKIA)	+= g_nokia.o
84obj-$(CONFIG_USB_G_WEBCAM)	+= g_webcam.o
85obj-$(CONFIG_USB_G_NCM)		+= g_ncm.o
86obj-$(CONFIG_USB_G_ACM_MS)	+= g_acm_ms.o
87obj-$(CONFIG_USB_GADGET_TARGET)	+= tcm_usb_gadget.o
88