2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# USB peripheral controller drivers
|
|
|
|
#
|
2013-10-11 06:07:00 +00:00
|
|
|
ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
|
|
|
|
ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
|
2007-07-02 00:35:28 +00:00
|
|
|
|
2011-06-28 13:33:47 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET) += udc-core.o
|
2012-09-06 18:11:09 +00:00
|
|
|
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
|
2012-09-06 18:11:27 +00:00
|
|
|
libcomposite-y := usbstring.o config.o epautoconf.o
|
2013-11-07 07:41:26 +00:00
|
|
|
libcomposite-y += composite.o functions.o configfs.o u_f.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
|
2011-06-06 23:42:44 +00:00
|
|
|
obj-$(CONFIG_USB_NET2272) += net2272.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_USB_NET2280) += net2280.o
|
2007-07-17 04:40:54 +00:00
|
|
|
obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o
|
2008-06-22 22:36:39 +00:00
|
|
|
obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o
|
2008-04-18 22:56:49 +00:00
|
|
|
obj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_USB_GOKU) += goku_udc.o
|
|
|
|
obj-$(CONFIG_USB_OMAP) += omap_udc.o
|
2007-06-07 04:05:49 +00:00
|
|
|
obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o
|
2006-01-22 18:32:37 +00:00
|
|
|
obj-$(CONFIG_USB_AT91) += at91_udc.o
|
2007-10-10 09:29:43 +00:00
|
|
|
obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o
|
2012-08-25 19:38:52 +00:00
|
|
|
obj-$(CONFIG_USB_BCM63XX_UDC) += bcm63xx_udc.o
|
2007-04-23 17:54:25 +00:00
|
|
|
obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o
|
2010-10-07 02:03:26 +00:00
|
|
|
fsl_usb2_udc-y := fsl_udc_core.o
|
|
|
|
fsl_usb2_udc-$(CONFIG_ARCH_MXC) += fsl_mxc_udc.o
|
2007-05-10 04:18:23 +00:00
|
|
|
obj-$(CONFIG_USB_M66592) += m66592-udc.o
|
2009-08-19 04:59:39 +00:00
|
|
|
obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o
|
2008-09-02 11:58:10 +00:00
|
|
|
obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o
|
2009-06-02 13:58:06 +00:00
|
|
|
obj-$(CONFIG_USB_S3C_HSOTG) += s3c-hsotg.o
|
2011-05-07 20:28:04 +00:00
|
|
|
obj-$(CONFIG_USB_S3C_HSUDC) += s3c-hsudc.o
|
2012-04-29 14:47:05 +00:00
|
|
|
obj-$(CONFIG_USB_LPC32XX) += lpc32xx_udc.o
|
2010-11-11 09:27:57 +00:00
|
|
|
obj-$(CONFIG_USB_EG20T) += pch_udc.o
|
2011-12-20 05:20:21 +00:00
|
|
|
obj-$(CONFIG_USB_MV_UDC) += mv_udc.o
|
2011-10-12 08:49:24 +00:00
|
|
|
mv_udc-y := mv_udc_core.o
|
2011-01-18 06:49:28 +00:00
|
|
|
obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o
|
2013-05-30 15:41:01 +00:00
|
|
|
obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
|
2012-06-15 13:45:08 +00:00
|
|
|
obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2013-02-06 08:50:34 +00:00
|
|
|
# USB Functions
|
2013-02-07 13:36:27 +00: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 08:50:34 +00:00
|
|
|
obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
|
2013-03-18 08:52:57 +00:00
|
|
|
usb_f_serial-y := f_serial.o
|
|
|
|
obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
|
2013-03-21 14:33:42 +00: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 07:22:03 +00:00
|
|
|
obj-$(CONFIG_USB_U_ETHER) += u_ether.o
|
2013-05-23 07:22:06 +00:00
|
|
|
usb_f_ncm-y := f_ncm.o
|
|
|
|
obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
|
2013-05-23 08:32:03 +00:00
|
|
|
usb_f_ecm-y := f_ecm.o
|
|
|
|
obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
|
2013-05-23 08:51:11 +00:00
|
|
|
usb_f_phonet-y := f_phonet.o
|
|
|
|
obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o
|
2013-05-28 07:15:47 +00:00
|
|
|
usb_f_eem-y := f_eem.o
|
|
|
|
obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o
|
2013-05-28 07:15:53 +00:00
|
|
|
usb_f_ecm_subset-y := f_subset.o
|
|
|
|
obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
|
2013-12-03 14:15:29 +00:00
|
|
|
usb_f_rndis-y := f_rndis.o rndis.o
|
2013-05-28 07:15:57 +00:00
|
|
|
obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
|
2013-10-09 08:08:29 +00:00
|
|
|
usb_f_mass_storage-y := f_mass_storage.o storage_common.o
|
2013-10-09 08:06:01 +00:00
|
|
|
obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
|
2013-02-06 08:50:34 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# USB gadget drivers
|
|
|
|
#
|
2010-10-07 02:03:26 +00: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 11:12:06 +00:00
|
|
|
g_ncm-y := ncm.o
|
2011-10-10 08:32:23 +00:00
|
|
|
g_acm_ms-y := acm_ms.o
|
2012-05-04 02:51:36 +00:00
|
|
|
g_tcm_usb_gadget-y := tcm_usb_gadget.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_USB_ZERO) += g_zero.o
|
2009-06-03 13:17:58 +00:00
|
|
|
obj-$(CONFIG_USB_AUDIO) += g_audio.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_USB_ETH) += g_ether.o
|
|
|
|
obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
|
2010-05-05 10:53:15 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTIONFS) += g_ffs.o
|
2009-11-09 13:15:20 +00:00
|
|
|
obj-$(CONFIG_USB_MASS_STORAGE) += g_mass_storage.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
|
2007-11-11 23:00:15 +00:00
|
|
|
obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
|
2006-08-01 01:28:16 +00:00
|
|
|
obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
|
2008-06-20 01:20:26 +00:00
|
|
|
obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
|
2010-04-08 07:31:15 +00:00
|
|
|
obj-$(CONFIG_USB_G_HID) += g_hid.o
|
2010-07-12 16:37:53 +00:00
|
|
|
obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o
|
2009-11-09 13:15:27 +00:00
|
|
|
obj-$(CONFIG_USB_G_MULTI) += g_multi.o
|
2010-01-05 14:10:13 +00:00
|
|
|
obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o
|
2010-05-02 18:57:42 +00:00
|
|
|
obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o
|
2010-12-08 11:12:06 +00:00
|
|
|
obj-$(CONFIG_USB_G_NCM) += g_ncm.o
|
2011-10-10 08:32:23 +00:00
|
|
|
obj-$(CONFIG_USB_G_ACM_MS) += g_acm_ms.o
|
2012-05-04 02:51:36 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_TARGET) += tcm_usb_gadget.o
|