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