Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # USB peripheral controller drivers |
| 3 | # |
Andreas Larsson | cd10869 | 2013-10-11 08:07:00 +0200 | [diff] [blame^] | 4 | ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG |
| 5 | ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG |
David Brownell | 70790f6 | 2007-07-01 17:35:28 -0700 | [diff] [blame] | 6 | |
Sebastian Andrzej Siewior | 0f91349 | 2011-06-28 16:33:47 +0300 | [diff] [blame] | 7 | obj-$(CONFIG_USB_GADGET) += udc-core.o |
Sebastian Andrzej Siewior | a84d9e5 | 2012-09-06 20:11:09 +0200 | [diff] [blame] | 8 | obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o |
Sebastian Andrzej Siewior | 721e2e9 | 2012-09-06 20:11:27 +0200 | [diff] [blame] | 9 | libcomposite-y := usbstring.o config.o epautoconf.o |
Sebastian Andrzej Siewior | 88af8bb | 2012-12-23 21:10:24 +0100 | [diff] [blame] | 10 | libcomposite-y += composite.o functions.o configfs.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o |
Seth Levy | ceb8036 | 2011-06-06 19:42:44 -0400 | [diff] [blame] | 12 | obj-$(CONFIG_USB_NET2272) += net2272.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_USB_NET2280) += net2280.o |
Thomas Dahlmann | 55d402d | 2007-07-16 21:40:54 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o |
Philipp Zabel | 7a85762 | 2008-06-22 23:36:39 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o |
Robert Jarzmik | d75379a | 2008-04-18 15:56:49 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | obj-$(CONFIG_USB_GOKU) += goku_udc.o |
| 18 | obj-$(CONFIG_USB_OMAP) += omap_udc.o |
Arnaud Patard | 3fc154b | 2007-06-06 21:05:49 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o |
David Brownell | bae4bd8 | 2006-01-22 10:32:37 -0800 | [diff] [blame] | 20 | obj-$(CONFIG_USB_AT91) += at91_udc.o |
Haavard Skinnemoen | 914a3f3 | 2007-10-10 02:29:43 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o |
Kevin Cernekee | 613065e | 2012-08-25 12:38:52 -0700 | [diff] [blame] | 22 | obj-$(CONFIG_USB_BCM63XX_UDC) += bcm63xx_udc.o |
Li Yang | b504882 | 2007-04-23 10:54:25 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 24 | fsl_usb2_udc-y := fsl_udc_core.o |
| 25 | fsl_usb2_udc-$(CONFIG_ARCH_MXC) += fsl_mxc_udc.o |
Yoshihiro Shimoda | 4cf2503 | 2007-05-10 13:18:23 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_USB_M66592) += m66592-udc.o |
Yoshihiro Shimoda | c414424 | 2009-08-19 04:59:39 +0000 | [diff] [blame] | 27 | obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o |
Li Yang | 3948f0e | 2008-09-02 19:58:10 +0800 | [diff] [blame] | 28 | obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o |
Ben Dooks | 5b7d70c | 2009-06-02 14:58:06 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_USB_S3C_HSOTG) += s3c-hsotg.o |
Thomas Abraham | a9df304 | 2011-05-07 22:28:04 +0200 | [diff] [blame] | 30 | obj-$(CONFIG_USB_S3C_HSUDC) += s3c-hsudc.o |
Roland Stigge | 24a28e4 | 2012-04-29 16:47:05 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_USB_LPC32XX) += lpc32xx_udc.o |
Toshiharu Okada | f646cf9 | 2010-11-11 18:27:57 +0900 | [diff] [blame] | 32 | obj-$(CONFIG_USB_EG20T) += pch_udc.o |
Neil Zhang | 5e6c86b | 2011-12-20 13:20:21 +0800 | [diff] [blame] | 33 | obj-$(CONFIG_USB_MV_UDC) += mv_udc.o |
Neil Zhang | dde34cc | 2011-10-12 16:49:24 +0800 | [diff] [blame] | 34 | mv_udc-y := mv_udc_core.o |
Yuan-Hsin Chen | 0fe6f1d | 2011-01-18 14:49:28 +0800 | [diff] [blame] | 35 | obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o |
Yuan-Hsin Chen | b84a8de | 2013-05-30 15:41:01 +0000 | [diff] [blame] | 36 | obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o |
Yu Xu | 3d4eb9d | 2012-06-15 21:45:08 +0800 | [diff] [blame] | 37 | obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | |
Kishon Vijay Abraham I | 56aa45a | 2013-02-06 14:20:34 +0530 | [diff] [blame] | 39 | # USB Functions |
Andrzej Pietrasiewicz | 4f47a1b | 2013-02-07 14:36:27 +0100 | [diff] [blame] | 40 | usb_f_acm-y := f_acm.o |
| 41 | obj-$(CONFIG_USB_F_ACM) += usb_f_acm.o |
| 42 | usb_f_ss_lb-y := f_loopback.o f_sourcesink.o |
| 43 | obj-$(CONFIG_USB_F_SS_LB) += usb_f_ss_lb.o |
Kishon Vijay Abraham I | 56aa45a | 2013-02-06 14:20:34 +0530 | [diff] [blame] | 44 | obj-$(CONFIG_USB_U_SERIAL) += u_serial.o |
Andrzej Pietrasiewicz | 60540ea | 2013-03-18 09:52:57 +0100 | [diff] [blame] | 45 | usb_f_serial-y := f_serial.o |
| 46 | obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o |
Andrzej Pietrasiewicz | 1d8fc25 | 2013-03-21 15:33:42 +0100 | [diff] [blame] | 47 | usb_f_obex-y := f_obex.o |
| 48 | obj-$(CONFIG_USB_F_OBEX) += usb_f_obex.o |
Andrzej Pietrasiewicz | f1a1823 | 2013-05-23 09:22:03 +0200 | [diff] [blame] | 49 | obj-$(CONFIG_USB_U_ETHER) += u_ether.o |
Andrzej Pietrasiewicz | cbbd14a | 2013-05-24 10:23:02 +0200 | [diff] [blame] | 50 | u_rndis-y := rndis.o |
| 51 | obj-$(CONFIG_USB_U_RNDIS) += u_rndis.o |
Andrzej Pietrasiewicz | 40d133d | 2013-05-23 09:22:06 +0200 | [diff] [blame] | 52 | usb_f_ncm-y := f_ncm.o |
| 53 | obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o |
Andrzej Pietrasiewicz | fee562a | 2013-05-23 10:32:03 +0200 | [diff] [blame] | 54 | usb_f_ecm-y := f_ecm.o |
| 55 | obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o |
Andrzej Pietrasiewicz | fcbdf12 | 2013-05-23 10:51:11 +0200 | [diff] [blame] | 56 | usb_f_phonet-y := f_phonet.o |
| 57 | obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o |
Andrzej Pietrasiewicz | b29002a | 2013-05-28 09:15:47 +0200 | [diff] [blame] | 58 | usb_f_eem-y := f_eem.o |
| 59 | obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o |
Andrzej Pietrasiewicz | 8cedba7 | 2013-05-28 09:15:53 +0200 | [diff] [blame] | 60 | usb_f_ecm_subset-y := f_subset.o |
| 61 | obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o |
Andrzej Pietrasiewicz | f466c63 | 2013-05-28 09:15:57 +0200 | [diff] [blame] | 62 | usb_f_rndis-y := f_rndis.o |
| 63 | obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o |
Andrzej Pietrasiewicz | 8254bac | 2013-10-09 10:08:29 +0200 | [diff] [blame] | 64 | usb_f_mass_storage-y := f_mass_storage.o storage_common.o |
Andrzej Pietrasiewicz | e5eaa0d | 2013-10-09 10:06:01 +0200 | [diff] [blame] | 65 | obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o |
Kishon Vijay Abraham I | 56aa45a | 2013-02-06 14:20:34 +0530 | [diff] [blame] | 66 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | # |
| 68 | # USB gadget drivers |
| 69 | # |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 70 | g_zero-y := zero.o |
| 71 | g_audio-y := audio.o |
| 72 | g_ether-y := ether.o |
| 73 | g_serial-y := serial.o |
| 74 | g_midi-y := gmidi.o |
| 75 | gadgetfs-y := inode.o |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 76 | g_mass_storage-y := mass_storage.o |
| 77 | g_printer-y := printer.o |
| 78 | g_cdc-y := cdc2.o |
| 79 | g_multi-y := multi.o |
| 80 | g_hid-y := hid.o |
| 81 | g_dbgp-y := dbgp.o |
| 82 | g_nokia-y := nokia.o |
| 83 | g_webcam-y := webcam.o |
Yauheni Kaliuta | 6c34d28 | 2010-12-08 13:12:06 +0200 | [diff] [blame] | 84 | g_ncm-y := ncm.o |
Klaus Schwarzkopf | fa3ae0c | 2011-10-10 10:32:23 +0200 | [diff] [blame] | 85 | g_acm_ms-y := acm_ms.o |
Sebastian Andrzej Siewior | c52661d | 2012-05-03 19:51:36 -0700 | [diff] [blame] | 86 | g_tcm_usb_gadget-y := tcm_usb_gadget.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 88 | obj-$(CONFIG_USB_ZERO) += g_zero.o |
Bryan Wu | c6994e6 | 2009-06-03 09:17:58 -0400 | [diff] [blame] | 89 | obj-$(CONFIG_USB_AUDIO) += g_audio.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | obj-$(CONFIG_USB_ETH) += g_ether.o |
| 91 | obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o |
Michal Nazarewicz | c6c5600 | 2010-05-05 12:53:15 +0200 | [diff] [blame] | 92 | obj-$(CONFIG_USB_FUNCTIONFS) += g_ffs.o |
Michal Nazarewicz | d23b0f0 | 2009-11-09 14:15:20 +0100 | [diff] [blame] | 93 | obj-$(CONFIG_USB_MASS_STORAGE) += g_mass_storage.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 94 | obj-$(CONFIG_USB_G_SERIAL) += g_serial.o |
Craig W. Nadler | 25a010c | 2007-11-11 15:00:15 -0800 | [diff] [blame] | 95 | obj-$(CONFIG_USB_G_PRINTER) += g_printer.o |
Ben Williamson | f2ebf92c | 2006-08-01 11:28:16 +1000 | [diff] [blame] | 96 | obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o |
David Brownell | 19e2068 | 2008-06-19 18:20:26 -0700 | [diff] [blame] | 97 | obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o |
Fabien Chouteau | 71adf11 | 2010-04-08 09:31:15 +0200 | [diff] [blame] | 98 | obj-$(CONFIG_USB_G_HID) += g_hid.o |
stephane duverger | f6c826a | 2010-07-12 18:37:53 +0200 | [diff] [blame] | 99 | obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o |
Michal Nazarewicz | f176a5d | 2009-11-09 14:15:27 +0100 | [diff] [blame] | 100 | obj-$(CONFIG_USB_G_MULTI) += g_multi.o |
Felipe Balbi | f358f5b | 2010-01-05 16:10:13 +0200 | [diff] [blame] | 101 | obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o |
Laurent Pinchart | a9914127 | 2010-05-02 20:57:42 +0200 | [diff] [blame] | 102 | obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o |
Yauheni Kaliuta | 6c34d28 | 2010-12-08 13:12:06 +0200 | [diff] [blame] | 103 | obj-$(CONFIG_USB_G_NCM) += g_ncm.o |
Klaus Schwarzkopf | fa3ae0c | 2011-10-10 10:32:23 +0200 | [diff] [blame] | 104 | obj-$(CONFIG_USB_G_ACM_MS) += g_acm_ms.o |
Sebastian Andrzej Siewior | c52661d | 2012-05-03 19:51:36 -0700 | [diff] [blame] | 105 | obj-$(CONFIG_USB_GADGET_TARGET) += tcm_usb_gadget.o |