blob: 61d2503ef561f232984d94d86f8b073e7149d869 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# USB peripheral controller drivers
3#
Andrzej Pietrasiewicz8443f2d2014-07-15 13:09:44 +02004subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
5subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
David Brownell70790f62007-07-01 17:35:28 -07006
Sebastian Andrzej Siewior0f913492011-06-28 16:33:47 +03007obj-$(CONFIG_USB_GADGET) += udc-core.o
Sebastian Andrzej Siewiora84d9e52012-09-06 20:11:09 +02008obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
Sebastian Andrzej Siewior721e2e92012-09-06 20:11:27 +02009libcomposite-y := usbstring.o config.o epautoconf.o
Andrzej Pietrasiewicz1efd54e2013-11-07 08:41:26 +010010libcomposite-y += composite.o functions.o configfs.o u_f.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
Seth Levyceb80362011-06-06 19:42:44 -040012obj-$(CONFIG_USB_NET2272) += net2272.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013obj-$(CONFIG_USB_NET2280) += net2280.o
Thomas Dahlmann55d402d2007-07-16 21:40:54 -070014obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o
Philipp Zabel7a857622008-06-22 23:36:39 +010015obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o
Robert Jarzmikd75379a2008-04-18 15:56:49 -070016obj-$(CONFIG_USB_PXA27X) += pxa27x_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
Thomas Abrahama9df3042011-05-07 22:28:04 +020029obj-$(CONFIG_USB_S3C_HSUDC) += s3c-hsudc.o
Roland Stigge24a28e42012-04-29 16:47:05 +020030obj-$(CONFIG_USB_LPC32XX) += lpc32xx_udc.o
Toshiharu Okadaf646cf92010-11-11 18:27:57 +090031obj-$(CONFIG_USB_EG20T) += pch_udc.o
Neil Zhang5e6c86b2011-12-20 13:20:21 +080032obj-$(CONFIG_USB_MV_UDC) += mv_udc.o
Neil Zhangdde34cc2011-10-12 16:49:24 +080033mv_udc-y := mv_udc_core.o
Yuan-Hsin Chen0fe6f1d2011-01-18 14:49:28 +080034obj-$(CONFIG_USB_FUSB300) += fusb300_udc.o
Yuan-Hsin Chenb84a8de2013-05-30 15:41:01 +000035obj-$(CONFIG_USB_FOTG210_UDC) += fotg210-udc.o
Yu Xu3d4eb9d2012-06-15 21:45:08 +080036obj-$(CONFIG_USB_MV_U3D) += mv_u3d_core.o
Andreas Larsson27e9dcc2013-12-23 21:25:49 +010037obj-$(CONFIG_USB_GR_UDC) += gr_udc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070038
Kishon Vijay Abraham I56aa45a2013-02-06 14:20:34 +053039# USB Functions
Andrzej Pietrasiewicz4f47a1b2013-02-07 14:36:27 +010040usb_f_acm-y := f_acm.o
41obj-$(CONFIG_USB_F_ACM) += usb_f_acm.o
42usb_f_ss_lb-y := f_loopback.o f_sourcesink.o
43obj-$(CONFIG_USB_F_SS_LB) += usb_f_ss_lb.o
Kishon Vijay Abraham I56aa45a2013-02-06 14:20:34 +053044obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
Andrzej Pietrasiewicz60540ea2013-03-18 09:52:57 +010045usb_f_serial-y := f_serial.o
46obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
Andrzej Pietrasiewicz1d8fc252013-03-21 15:33:42 +010047usb_f_obex-y := f_obex.o
48obj-$(CONFIG_USB_F_OBEX) += usb_f_obex.o
Andrzej Pietrasiewiczf1a18232013-05-23 09:22:03 +020049obj-$(CONFIG_USB_U_ETHER) += u_ether.o
Andrzej Pietrasiewicz40d133d2013-05-23 09:22:06 +020050usb_f_ncm-y := f_ncm.o
51obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
Andrzej Pietrasiewiczfee562a2013-05-23 10:32:03 +020052usb_f_ecm-y := f_ecm.o
53obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
Andrzej Pietrasiewiczfcbdf122013-05-23 10:51:11 +020054usb_f_phonet-y := f_phonet.o
55obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o
Andrzej Pietrasiewiczb29002a2013-05-28 09:15:47 +020056usb_f_eem-y := f_eem.o
57obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o
Andrzej Pietrasiewicz8cedba72013-05-28 09:15:53 +020058usb_f_ecm_subset-y := f_subset.o
59obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
Andrzej Pietrasiewicz9c2b85f2013-12-03 15:15:29 +010060usb_f_rndis-y := f_rndis.o rndis.o
Andrzej Pietrasiewiczf466c632013-05-28 09:15:57 +020061obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
Andrzej Pietrasiewicz8254bac2013-10-09 10:08:29 +020062usb_f_mass_storage-y := f_mass_storage.o storage_common.o
Andrzej Pietrasiewicze5eaa0d2013-10-09 10:06:01 +020063obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
Andrzej Pietrasiewicz5920cda2013-12-03 15:15:33 +010064usb_f_fs-y := f_fs.o
65obj-$(CONFIG_USB_F_FS) += usb_f_fs.o
Kishon Vijay Abraham I56aa45a2013-02-06 14:20:34 +053066
Andrzej Pietrasiewicz8443f2d2014-07-15 13:09:44 +020067obj-$(CONFIG_USB_GADGET) += legacy/