2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# USB peripheral controller drivers
|
|
|
|
#
|
2013-10-11 10:07:00 +04:00
|
|
|
ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
|
|
|
|
ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
|
2007-07-02 04:35:28 +04:00
|
|
|
|
2011-06-28 17:33:47 +04:00
|
|
|
obj-$(CONFIG_USB_GADGET) += udc-core.o
|
2012-09-06 22:11:09 +04:00
|
|
|
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
|
2012-09-06 22:11:27 +04:00
|
|
|
libcomposite-y := usbstring.o config.o epautoconf.o
|
2013-11-07 11:41:26 +04:00
|
|
|
libcomposite-y += composite.o functions.o configfs.o u_f.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
|
2011-06-07 03:42:44 +04:00
|
|
|
obj-$(CONFIG_USB_NET2272) += net2272.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_USB_NET2280) += net2280.o
|
2007-07-17 08:40:54 +04:00
|
|
|
obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o
|
2008-06-23 02:36:39 +04:00
|
|
|
obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o
|
2008-04-19 02:56:49 +04:00
|
|
|
obj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
|
|
|
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
2007-06-07 08:05:49 +04:00
|
|
|
obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o
|
2006-01-22 21:32:37 +03:00
|
|
|
obj-$(CONFIG_USB_AT91) += at91_udc.o
|
2007-10-10 13:29:43 +04:00
|
|
|
obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o
|
2012-08-25 23:38:52 +04:00
|
|
|
obj-$(CONFIG_USB_BCM63XX_UDC) += bcm63xx_udc.o
|
2007-04-23 21:54:25 +04:00
|
|
|
obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o
|
2010-10-07 06:03:26 +04:00
|
|
|
fsl_usb2_udc-y := fsl_udc_core.o
|
|
|
|
fsl_usb2_udc-$(CONFIG_ARCH_MXC) += fsl_mxc_udc.o
|
2007-05-10 08:18:23 +04:00
|
|
|
obj-$(CONFIG_USB_M66592) += m66592-udc.o
|
2009-08-19 08:59:39 +04:00
|
|
|
obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o
|
2008-09-02 15:58:10 +04:00
|
|
|
obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o
|
2011-05-08 00:28:04 +04:00
|
|
|
obj-$(CONFIG_USB_S3C_HSUDC) += s3c-hsudc.o
|
2012-04-29 18:47:05 +04:00
|
|
|
obj-$(CONFIG_USB_LPC32XX) += lpc32xx_udc.o
|
2010-11-11 12:27:57 +03:00
|
|
|
obj-$(CONFIG_USB_EG20T) += pch_udc.o
|
2011-12-20 09:20:21 +04:00
|
|
|
obj-$(CONFIG_USB_MV_UDC) += mv_udc.o
|
2011-10-12 12:49:24 +04:00
|
|
|
mv_udc-y := mv_udc_core.o
|
2011-01-18 09:49:28 +03:00
|
|
|
obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o
|
2013-05-30 19:41:01 +04:00
|
|
|
obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
|
2012-06-15 17:45:08 +04:00
|
|
|
obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o
|
2013-12-24 00:25:49 +04:00
|
|
|
obj-$(CONFIG_USB_GR_UDC) += gr_udc.o
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2013-02-06 12:50:34 +04:00
|
|
|
# USB Functions
|
2013-02-07 17:36:27 +04:00
|
|
|
usb_f_acm-y := f_acm.o
|
|
|
|
obj-$(CONFIG_USB_F_ACM) += usb_f_acm.o
|
|
|
|
usb_f_ss_lb-y := f_loopback.o f_sourcesink.o
|
|
|
|
obj-$(CONFIG_USB_F_SS_LB) += usb_f_ss_lb.o
|
2013-02-06 12:50:34 +04:00
|
|
|
obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
|
2013-03-18 12:52:57 +04:00
|
|
|
usb_f_serial-y := f_serial.o
|
|
|
|
obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
|
2013-03-21 18:33:42 +04:00
|
|
|
usb_f_obex-y := f_obex.o
|
|
|
|
obj-$(CONFIG_USB_F_OBEX) += usb_f_obex.o
|
usb: gadget: u_ether: convert into module
u_ether.c has been #include'd by all gadgets which implement
USB Ethernet functions. In order to add configfs support,
the f_ecm.c, f_eem.c, f_ncm.c, f_subset.c, f_rndis.c need to be
converted into modules and must not be #include'd. Consequently,
the u_ether.c needs to be a module too, in a manner similar
to u_serial.c. The resulting module should not take any parameters,
so they are pushed to the current users of it, that is ether.c,
g_ffs.c, multi.c, ncm.c, nokia.c.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-05-23 11:22:03 +04:00
|
|
|
obj-$(CONFIG_USB_U_ETHER) += u_ether.o
|
2013-05-23 11:22:06 +04:00
|
|
|
usb_f_ncm-y := f_ncm.o
|
|
|
|
obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
|
2013-05-23 12:32:03 +04:00
|
|
|
usb_f_ecm-y := f_ecm.o
|
|
|
|
obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
|
2013-05-23 12:51:11 +04:00
|
|
|
usb_f_phonet-y := f_phonet.o
|
|
|
|
obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o
|
2013-05-28 11:15:47 +04:00
|
|
|
usb_f_eem-y := f_eem.o
|
|
|
|
obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o
|
2013-05-28 11:15:53 +04:00
|
|
|
usb_f_ecm_subset-y := f_subset.o
|
|
|
|
obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
|
2013-12-03 18:15:29 +04:00
|
|
|
usb_f_rndis-y := f_rndis.o rndis.o
|
2013-05-28 11:15:57 +04:00
|
|
|
obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
|
2013-10-09 12:08:29 +04:00
|
|
|
usb_f_mass_storage-y := f_mass_storage.o storage_common.o
|
2013-10-09 12:06:01 +04:00
|
|
|
obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
|
2013-12-03 18:15:33 +04:00
|
|
|
usb_f_fs-y := f_fs.o
|
|
|
|
obj-$(CONFIG_USB_F_FS) += usb_f_fs.o
|
2013-02-06 12:50:34 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# USB gadget drivers
|
|
|
|
#
|
2010-10-07 06:03:26 +04:00
|
|
|
g_zero-y := zero.o
|
|
|
|
g_audio-y := audio.o
|
|
|
|
g_ether-y := ether.o
|
|
|
|
g_serial-y := serial.o
|
|
|
|
g_midi-y := gmidi.o
|
|
|
|
gadgetfs-y := inode.o
|
|
|
|
g_mass_storage-y := mass_storage.o
|
|
|
|
g_printer-y := printer.o
|
|
|
|
g_cdc-y := cdc2.o
|
|
|
|
g_multi-y := multi.o
|
|
|
|
g_hid-y := hid.o
|
|
|
|
g_dbgp-y := dbgp.o
|
|
|
|
g_nokia-y := nokia.o
|
|
|
|
g_webcam-y := webcam.o
|
2010-12-08 14:12:06 +03:00
|
|
|
g_ncm-y := ncm.o
|
2011-10-10 12:32:23 +04:00
|
|
|
g_acm_ms-y := acm_ms.o
|
2012-05-04 06:51:36 +04:00
|
|
|
g_tcm_usb_gadget-y := tcm_usb_gadget.o
|
2005-04-17 02:20:36 +04:00
|
|
|
|
|
|
|
obj-$(CONFIG_USB_ZERO) += g_zero.o
|
2009-06-03 17:17:58 +04:00
|
|
|
obj-$(CONFIG_USB_AUDIO) += g_audio.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_USB_ETH) += g_ether.o
|
|
|
|
obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
|
2010-05-05 14:53:15 +04:00
|
|
|
obj-$(CONFIG_USB_FUNCTIONFS) += g_ffs.o
|
2009-11-09 16:15:20 +03:00
|
|
|
obj-$(CONFIG_USB_MASS_STORAGE) += g_mass_storage.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
|
2007-11-12 02:00:15 +03:00
|
|
|
obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
|
2006-08-01 05:28:16 +04:00
|
|
|
obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
|
2008-06-20 05:20:26 +04:00
|
|
|
obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
|
2010-04-08 11:31:15 +04:00
|
|
|
obj-$(CONFIG_USB_G_HID) += g_hid.o
|
2010-07-12 20:37:53 +04:00
|
|
|
obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o
|
2009-11-09 16:15:27 +03:00
|
|
|
obj-$(CONFIG_USB_G_MULTI) += g_multi.o
|
2010-01-05 17:10:13 +03:00
|
|
|
obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o
|
2010-05-02 22:57:42 +04:00
|
|
|
obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o
|
2010-12-08 14:12:06 +03:00
|
|
|
obj-$(CONFIG_USB_G_NCM) += g_ncm.o
|
2011-10-10 12:32:23 +04:00
|
|
|
obj-$(CONFIG_USB_G_ACM_MS) += g_acm_ms.o
|
2012-05-04 06:51:36 +04:00
|
|
|
obj-$(CONFIG_USB_GADGET_TARGET) += tcm_usb_gadget.o
|