blob: a55050c17893fc367c46c37957428fe1a59f6c26 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# USB peripheral controller drivers
3#
David Brownell70790f62007-07-01 17:35:28 -07004ifeq ($(CONFIG_USB_GADGET_DEBUG),y)
5 EXTRA_CFLAGS += -DDEBUG
6endif
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
9obj-$(CONFIG_USB_NET2280) += net2280.o
Thomas Dahlmann55d402d2007-07-16 21:40:54 -070010obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o
Philipp Zabel7a857622008-06-22 23:36:39 +010011obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o
Robert Jarzmikd75379a2008-04-18 15:56:49 -070012obj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o
Darius Augulis2a4f1362008-11-12 13:38:31 -080013obj-$(CONFIG_USB_IMX) += imx_udc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014obj-$(CONFIG_USB_GOKU) += goku_udc.o
15obj-$(CONFIG_USB_OMAP) += omap_udc.o
16obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
Arnaud Patard3fc154b2007-06-06 21:05:49 -070017obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o
David Brownellbae4bd82006-01-22 10:32:37 -080018obj-$(CONFIG_USB_AT91) += at91_udc.o
Haavard Skinnemoen914a3f32007-10-10 02:29:43 -070019obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o
Li Yangb5048822007-04-23 10:54:25 -070020obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o
Guennadi Liakhovetski54e4026b2009-04-15 14:25:33 +020021fsl_usb2_udc-objs := fsl_udc_core.o
22ifeq ($(CONFIG_ARCH_MXC),y)
23fsl_usb2_udc-objs += fsl_mx3_udc.o
24endif
Yoshihiro Shimoda4cf25032007-05-10 13:18:23 +090025obj-$(CONFIG_USB_M66592) += m66592-udc.o
Yoshihiro Shimodac4144242009-08-19 04:59:39 +000026obj-$(CONFIG_USB_R8A66597) += r8a66597-udc.o
Li Yang3948f0e2008-09-02 19:58:10 +080027obj-$(CONFIG_USB_FSL_QE) += fsl_qe_udc.o
David Lopoaa69a802008-11-17 14:14:51 -080028obj-$(CONFIG_USB_CI13XXX) += ci13xxx_udc.o
Ben Dooks5b7d70c2009-06-02 14:58:06 +010029obj-$(CONFIG_USB_S3C_HSOTG) += s3c-hsotg.o
Xiaochen Shen5be19a92009-06-04 15:34:49 +080030obj-$(CONFIG_USB_LANGWELL) += langwell_udc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32#
33# USB gadget drivers
34#
David Brownell7e75bc02008-08-18 17:41:31 -070035g_zero-objs := zero.o
Bryan Wuc6994e62009-06-03 09:17:58 -040036g_audio-objs := audio.o
David Brownell33376c12008-08-18 17:45:07 -070037g_ether-objs := ether.o
David Brownell4e9ba512008-08-18 17:41:02 -070038g_serial-objs := serial.o
David Brownell77f754c2008-08-18 17:42:04 -070039g_midi-objs := gmidi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070040gadgetfs-objs := inode.o
David Brownell352e2b92008-08-18 17:43:25 -070041g_file_storage-objs := file_storage.o
Michal Nazarewiczd23b0f02009-11-09 14:15:20 +010042g_mass_storage-objs := mass_storage.o
David Brownell0a56b032008-08-18 17:42:49 -070043g_printer-objs := printer.o
David Brownell8a1ce2c2008-08-18 17:43:56 -070044g_cdc-objs := cdc2.o
Michal Nazarewiczf176a5d2009-11-09 14:15:27 +010045g_multi-objs := multi.o
Fabien Chouteau71adf112010-04-08 09:31:15 +020046g_hid-objs := hid.o
Felipe Balbif358f5b2010-01-05 16:10:13 +020047g_nokia-objs := nokia.o
Laurent Pincharta99141272010-05-02 20:57:42 +020048g_webcam-objs := webcam.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070049
Linus Torvalds1da177e2005-04-16 15:20:36 -070050obj-$(CONFIG_USB_ZERO) += g_zero.o
Bryan Wuc6994e62009-06-03 09:17:58 -040051obj-$(CONFIG_USB_AUDIO) += g_audio.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070052obj-$(CONFIG_USB_ETH) += g_ether.o
53obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
Michal Nazarewiczc6c56002010-05-05 12:53:15 +020054obj-$(CONFIG_USB_FUNCTIONFS) += g_ffs.o
55obj-$(CONFIG_USB_ETH_FUNCTIONFS) += g_eth_ffs.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070056obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o
Michal Nazarewiczd23b0f02009-11-09 14:15:20 +010057obj-$(CONFIG_USB_MASS_STORAGE) += g_mass_storage.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070058obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080059obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100060obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
David Brownell19e20682008-06-19 18:20:26 -070061obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
Fabien Chouteau71adf112010-04-08 09:31:15 +020062obj-$(CONFIG_USB_G_HID) += g_hid.o
Michal Nazarewiczf176a5d2009-11-09 14:15:27 +010063obj-$(CONFIG_USB_G_MULTI) += g_multi.o
Felipe Balbif358f5b2010-01-05 16:10:13 +020064obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o
Laurent Pincharta99141272010-05-02 20:57:42 +020065obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070066