xref: /linux/drivers/usb/gadget/Makefile (revision 1efd54eab2b60c68c2ce75ea635306cef847d751)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB peripheral controller drivers
31da177e4SLinus Torvalds#
425013315Smatt mooneyccflags-$(CONFIG_USB_GADGET_DEBUG)	:= -DDEBUG
5cd108691SAndreas Larssonccflags-$(CONFIG_USB_GADGET_VERBOSE)	+= -DVERBOSE_DEBUG
670790f63SDavid Brownell
70f91349bSSebastian Andrzej Siewiorobj-$(CONFIG_USB_GADGET)	+= udc-core.o
8a84d9e53SSebastian Andrzej Siewiorobj-$(CONFIG_USB_LIBCOMPOSITE)	+= libcomposite.o
9721e2e91SSebastian Andrzej Siewiorlibcomposite-y			:= usbstring.o config.o epautoconf.o
10*1efd54eaSAndrzej Pietrasiewiczlibcomposite-y			+= composite.o functions.o configfs.o u_f.o
111da177e4SLinus Torvaldsobj-$(CONFIG_USB_DUMMY_HCD)	+= dummy_hcd.o
12ceb80363SSeth Levyobj-$(CONFIG_USB_NET2272)	+= net2272.o
131da177e4SLinus Torvaldsobj-$(CONFIG_USB_NET2280)	+= net2280.o
1455d402d8SThomas Dahlmannobj-$(CONFIG_USB_AMD5536UDC)	+= amd5536udc.o
157a857620SPhilipp Zabelobj-$(CONFIG_USB_PXA25X)	+= pxa25x_udc.o
16d75379a5SRobert Jarzmikobj-$(CONFIG_USB_PXA27X)	+= pxa27x_udc.o
171da177e4SLinus Torvaldsobj-$(CONFIG_USB_GOKU)		+= goku_udc.o
181da177e4SLinus Torvaldsobj-$(CONFIG_USB_OMAP)		+= omap_udc.o
193fc154b6SArnaud Patardobj-$(CONFIG_USB_S3C2410)	+= s3c2410_udc.o
20bae4bd84SDavid Brownellobj-$(CONFIG_USB_AT91)		+= at91_udc.o
21914a3f3bSHaavard Skinnemoenobj-$(CONFIG_USB_ATMEL_USBA)	+= atmel_usba_udc.o
22613065e5SKevin Cernekeeobj-$(CONFIG_USB_BCM63XX_UDC)	+= bcm63xx_udc.o
23b504882dSLi Yangobj-$(CONFIG_USB_FSL_USB2)	+= fsl_usb2_udc.o
240a2b8a0dSmatt mooneyfsl_usb2_udc-y			:= fsl_udc_core.o
250a2b8a0dSmatt mooneyfsl_usb2_udc-$(CONFIG_ARCH_MXC)	+= fsl_mxc_udc.o
264cf2503cSYoshihiro Shimodaobj-$(CONFIG_USB_M66592)	+= m66592-udc.o
27c4144247SYoshihiro Shimodaobj-$(CONFIG_USB_R8A66597)	+= r8a66597-udc.o
283948f0e0SLi Yangobj-$(CONFIG_USB_FSL_QE)	+= fsl_qe_udc.o
295b7d70c6SBen Dooksobj-$(CONFIG_USB_S3C_HSOTG)	+= s3c-hsotg.o
30a9df304cSThomas Abrahamobj-$(CONFIG_USB_S3C_HSUDC)	+= s3c-hsudc.o
3124a28e42SRoland Stiggeobj-$(CONFIG_USB_LPC32XX)	+= lpc32xx_udc.o
32f646cf94SToshiharu Okadaobj-$(CONFIG_USB_EG20T)		+= pch_udc.o
335e6c86b0SNeil Zhangobj-$(CONFIG_USB_MV_UDC)	+= mv_udc.o
34dde34cc5SNeil Zhangmv_udc-y			:= mv_udc_core.o
350fe6f1d1SYuan-Hsin Chenobj-$(CONFIG_USB_FUSB300)	+= fusb300_udc.o
36b84a8deeSYuan-Hsin Chenobj-$(CONFIG_USB_FOTG210_UDC)	+= fotg210-udc.o
373d4eb9dfSYu Xuobj-$(CONFIG_USB_MV_U3D)	+= mv_u3d_core.o
381da177e4SLinus Torvalds
3956aa45adSKishon Vijay Abraham I# USB Functions
404f47a1beSAndrzej Pietrasiewiczusb_f_acm-y			:= f_acm.o
414f47a1beSAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_ACM)		+= usb_f_acm.o
424f47a1beSAndrzej Pietrasiewiczusb_f_ss_lb-y			:= f_loopback.o f_sourcesink.o
434f47a1beSAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_SS_LB)	+= usb_f_ss_lb.o
4456aa45adSKishon Vijay Abraham Iobj-$(CONFIG_USB_U_SERIAL)	+= u_serial.o
4560540ea2SAndrzej Pietrasiewiczusb_f_serial-y			:= f_serial.o
4660540ea2SAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_SERIAL)	+= usb_f_serial.o
471d8fc251SAndrzej Pietrasiewiczusb_f_obex-y			:= f_obex.o
481d8fc251SAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_OBEX)	+= usb_f_obex.o
49f1a1823fSAndrzej Pietrasiewiczobj-$(CONFIG_USB_U_ETHER)	+= u_ether.o
50cbbd14a9SAndrzej Pietrasiewiczu_rndis-y			:= rndis.o
51cbbd14a9SAndrzej Pietrasiewiczobj-$(CONFIG_USB_U_RNDIS)	+= u_rndis.o
5240d133d7SAndrzej Pietrasiewiczusb_f_ncm-y			:= f_ncm.o
5340d133d7SAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_NCM)		+= usb_f_ncm.o
54fee562a6SAndrzej Pietrasiewiczusb_f_ecm-y			:= f_ecm.o
55fee562a6SAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_ECM)		+= usb_f_ecm.o
56fcbdf12eSAndrzej Pietrasiewiczusb_f_phonet-y			:= f_phonet.o
57fcbdf12eSAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_PHONET)	+= usb_f_phonet.o
58b29002a1SAndrzej Pietrasiewiczusb_f_eem-y			:= f_eem.o
59b29002a1SAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_EEM)		+= usb_f_eem.o
608cedba7cSAndrzej Pietrasiewiczusb_f_ecm_subset-y		:= f_subset.o
618cedba7cSAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_SUBSET)	+= usb_f_ecm_subset.o
62f466c635SAndrzej Pietrasiewiczusb_f_rndis-y			:= f_rndis.o
63f466c635SAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_RNDIS)	+= usb_f_rndis.o
648254baccSAndrzej Pietrasiewiczusb_f_mass_storage-y		:= f_mass_storage.o storage_common.o
65e5eaa0dcSAndrzej Pietrasiewiczobj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
6656aa45adSKishon Vijay Abraham I
671da177e4SLinus Torvalds#
681da177e4SLinus Torvalds# USB gadget drivers
691da177e4SLinus Torvalds#
700a2b8a0dSmatt mooneyg_zero-y			:= zero.o
710a2b8a0dSmatt mooneyg_audio-y			:= audio.o
720a2b8a0dSmatt mooneyg_ether-y			:= ether.o
730a2b8a0dSmatt mooneyg_serial-y			:= serial.o
740a2b8a0dSmatt mooneyg_midi-y			:= gmidi.o
750a2b8a0dSmatt mooneygadgetfs-y			:= inode.o
760a2b8a0dSmatt mooneyg_mass_storage-y		:= mass_storage.o
770a2b8a0dSmatt mooneyg_printer-y			:= printer.o
780a2b8a0dSmatt mooneyg_cdc-y				:= cdc2.o
790a2b8a0dSmatt mooneyg_multi-y			:= multi.o
800a2b8a0dSmatt mooneyg_hid-y				:= hid.o
810a2b8a0dSmatt mooneyg_dbgp-y			:= dbgp.o
820a2b8a0dSmatt mooneyg_nokia-y			:= nokia.o
830a2b8a0dSmatt mooneyg_webcam-y			:= webcam.o
846c34d288SYauheni Kaliutag_ncm-y				:= ncm.o
85fa3ae0c1SKlaus Schwarzkopfg_acm_ms-y			:= acm_ms.o
86c52661d6SSebastian Andrzej Siewiorg_tcm_usb_gadget-y		:= tcm_usb_gadget.o
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldsobj-$(CONFIG_USB_ZERO)		+= g_zero.o
89c6994e6fSBryan Wuobj-$(CONFIG_USB_AUDIO)		+= g_audio.o
901da177e4SLinus Torvaldsobj-$(CONFIG_USB_ETH)		+= g_ether.o
911da177e4SLinus Torvaldsobj-$(CONFIG_USB_GADGETFS)	+= gadgetfs.o
92c6c56008SMichal Nazarewiczobj-$(CONFIG_USB_FUNCTIONFS)	+= g_ffs.o
93d23b0f08SMichal Nazarewiczobj-$(CONFIG_USB_MASS_STORAGE)	+= g_mass_storage.o
941da177e4SLinus Torvaldsobj-$(CONFIG_USB_G_SERIAL)	+= g_serial.o
9525a010c8SCraig W. Nadlerobj-$(CONFIG_USB_G_PRINTER)	+= g_printer.o
96f2ebf92cSBen Williamsonobj-$(CONFIG_USB_MIDI_GADGET)	+= g_midi.o
9719e20680SDavid Brownellobj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
9871adf118SFabien Chouteauobj-$(CONFIG_USB_G_HID)		+= g_hid.o
99f6c826a9Sstephane duvergerobj-$(CONFIG_USB_G_DBGP)	+= g_dbgp.o
100f176a5d8SMichal Nazarewiczobj-$(CONFIG_USB_G_MULTI)	+= g_multi.o
101f358f5b4SFelipe Balbiobj-$(CONFIG_USB_G_NOKIA)	+= g_nokia.o
102a9914127SLaurent Pinchartobj-$(CONFIG_USB_G_WEBCAM)	+= g_webcam.o
1036c34d288SYauheni Kaliutaobj-$(CONFIG_USB_G_NCM)		+= g_ncm.o
104fa3ae0c1SKlaus Schwarzkopfobj-$(CONFIG_USB_G_ACM_MS)	+= g_acm_ms.o
105c52661d6SSebastian Andrzej Siewiorobj-$(CONFIG_USB_GADGET_TARGET)	+= tcm_usb_gadget.o
106