blob: 66152f513afd308b6ff32434ed80e43633d89f10 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# USB peripheral controller drivers
3#
matt mooney0a2b8a02010-10-06 19:03:26 -07004ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
David Brownell70790f62007-07-01 17:35:28 -07005
Sebastian Andrzej Siewior0f913492011-06-28 16:33:47 +03006obj-$(CONFIG_USB_GADGET) += udc-core.o
Sebastian Andrzej Siewiora84d9e52012-09-06 20:11:09 +02007obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
Sebastian Andrzej Siewior721e2e92012-09-06 20:11:27 +02008libcomposite-y := usbstring.o config.o epautoconf.o
Sebastian Andrzej Siewior88af8bb2012-12-23 21:10:24 +01009libcomposite-y += composite.o functions.o configfs.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
Seth Levyceb80362011-06-06 19:42:44 -040011obj-$(CONFIG_USB_NET2272) += net2272.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012obj-$(CONFIG_USB_NET2280) += net2280.o
Thomas Dahlmann55d402d2007-07-16 21:40:54 -070013obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o
Philipp Zabel7a857622008-06-22 23:36:39 +010014obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o
Robert Jarzmikd75379a2008-04-18 15:56:49 -070015obj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o
Darius Augulis2a4f1362008-11-12 13:38:31 -080016obj-$(CONFIG_USB_IMX) += imx_udc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070017obj-$(CONFIG_USB_GOKU) += goku_udc.o
18obj-$(CONFIG_USB_OMAP) += omap_udc.o
Arnaud Patard3fc154b2007-06-06 21:05:49 -070019obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o
David Brownellbae4bd82006-01-22 10:32:37 -080020obj-$(CONFIG_USB_AT91) += at91_udc.o
Haavard Skinnemoen914a3f32007-10-10 02:29:43 -070021obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o
Kevin Cernekee613065e2012-08-25 12:38:52 -070022obj-$(CONFIG_USB_BCM63XX_UDC) += bcm63xx_udc.o
Li Yangb5048822007-04-23 10:54:25 -070023obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o
matt mooney0a2b8a02010-10-06 19:03:26 -070024fsl_usb2_udc-y := fsl_udc_core.o
25fsl_usb2_udc-$(CONFIG_ARCH_MXC) += fsl_mxc_udc.o
Yoshihiro Shimoda4cf25032007-05-10 13:18:23 +090026obj-$(CONFIG_USB_M66592) += m66592-udc.o
Yoshihiro Shimodac4144242009-08-19 04:59:39 +000027obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o
Li Yang3948f0e2008-09-02 19:58:10 +080028obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o
Ben Dooks5b7d70c2009-06-02 14:58:06 +010029obj-$(CONFIG_USB_S3C_HSOTG) += s3c-hsotg.o
Thomas Abrahama9df3042011-05-07 22:28:04 +020030obj-$(CONFIG_USB_S3C_HSUDC) += s3c-hsudc.o
Roland Stigge24a28e42012-04-29 16:47:05 +020031obj-$(CONFIG_USB_LPC32XX) += lpc32xx_udc.o
Toshiharu Okadaf646cf92010-11-11 18:27:57 +090032obj-$(CONFIG_USB_EG20T) += pch_udc.o
Neil Zhang5e6c86b2011-12-20 13:20:21 +080033obj-$(CONFIG_USB_MV_UDC) += mv_udc.o
Neil Zhangdde34cc2011-10-12 16:49:24 +080034mv_udc-y := mv_udc_core.o
Yuan-Hsin Chen0fe6f1d2011-01-18 14:49:28 +080035obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o
Yu Xu3d4eb9d2012-06-15 21:45:08 +080036obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
Kishon Vijay Abraham I56aa45a2013-02-06 14:20:34 +053038# USB Functions
Andrzej Pietrasiewicz4f47a1b2013-02-07 14:36:27 +010039usb_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
Kishon Vijay Abraham I56aa45a2013-02-06 14:20:34 +053043obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
Andrzej Pietrasiewicz60540ea2013-03-18 09:52:57 +010044usb_f_serial-y := f_serial.o
45obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
Andrzej Pietrasiewicz1d8fc252013-03-21 15:33:42 +010046usb_f_obex-y := f_obex.o
47obj-$(CONFIG_USB_F_OBEX) += usb_f_obex.o
Andrzej Pietrasiewiczf1a18232013-05-23 09:22:03 +020048obj-$(CONFIG_USB_U_ETHER) += u_ether.o
Andrzej Pietrasiewiczcbbd14a2013-05-24 10:23:02 +020049u_rndis-y := rndis.o
50obj-$(CONFIG_USB_U_RNDIS) += u_rndis.o
Andrzej Pietrasiewicz40d133d2013-05-23 09:22:06 +020051usb_f_ncm-y := f_ncm.o
52obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
Andrzej Pietrasiewiczfee562a2013-05-23 10:32:03 +020053usb_f_ecm-y := f_ecm.o
54obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
Kishon Vijay Abraham I56aa45a2013-02-06 14:20:34 +053055
Linus Torvalds1da177e2005-04-16 15:20:36 -070056#
57# USB gadget drivers
58#
matt mooney0a2b8a02010-10-06 19:03:26 -070059g_zero-y := zero.o
60g_audio-y := audio.o
61g_ether-y := ether.o
62g_serial-y := serial.o
63g_midi-y := gmidi.o
64gadgetfs-y := inode.o
matt mooney0a2b8a02010-10-06 19:03:26 -070065g_mass_storage-y := mass_storage.o
66g_printer-y := printer.o
67g_cdc-y := cdc2.o
68g_multi-y := multi.o
69g_hid-y := hid.o
70g_dbgp-y := dbgp.o
71g_nokia-y := nokia.o
72g_webcam-y := webcam.o
Yauheni Kaliuta6c34d282010-12-08 13:12:06 +020073g_ncm-y := ncm.o
Klaus Schwarzkopffa3ae0c2011-10-10 10:32:23 +020074g_acm_ms-y := acm_ms.o
Sebastian Andrzej Siewiorc52661d2012-05-03 19:51:36 -070075g_tcm_usb_gadget-y := tcm_usb_gadget.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070076
Linus Torvalds1da177e2005-04-16 15:20:36 -070077obj-$(CONFIG_USB_ZERO) += g_zero.o
Bryan Wuc6994e62009-06-03 09:17:58 -040078obj-$(CONFIG_USB_AUDIO) += g_audio.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070079obj-$(CONFIG_USB_ETH) += g_ether.o
80obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
Michal Nazarewiczc6c56002010-05-05 12:53:15 +020081obj-$(CONFIG_USB_FUNCTIONFS) += g_ffs.o
Michal Nazarewiczd23b0f02009-11-09 14:15:20 +010082obj-$(CONFIG_USB_MASS_STORAGE) += g_mass_storage.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070083obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080084obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100085obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
David Brownell19e20682008-06-19 18:20:26 -070086obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
Fabien Chouteau71adf112010-04-08 09:31:15 +020087obj-$(CONFIG_USB_G_HID) += g_hid.o
stephane duvergerf6c826a2010-07-12 18:37:53 +020088obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o
Michal Nazarewiczf176a5d2009-11-09 14:15:27 +010089obj-$(CONFIG_USB_G_MULTI) += g_multi.o
Felipe Balbif358f5b2010-01-05 16:10:13 +020090obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o
Laurent Pincharta99141272010-05-02 20:57:42 +020091obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o
Yauheni Kaliuta6c34d282010-12-08 13:12:06 +020092obj-$(CONFIG_USB_G_NCM) += g_ncm.o
Klaus Schwarzkopffa3ae0c2011-10-10 10:32:23 +020093obj-$(CONFIG_USB_G_ACM_MS) += g_acm_ms.o
Sebastian Andrzej Siewiorc52661d2012-05-03 19:51:36 -070094obj-$(CONFIG_USB_GADGET_TARGET) += tcm_usb_gadget.o