Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # USB peripheral controller drivers |
| 3 | # |
David Brownell | 70790f6 | 2007-07-01 17:35:28 -0700 | [diff] [blame] | 4 | ifeq ($(CONFIG_USB_GADGET_DEBUG),y) |
| 5 | EXTRA_CFLAGS += -DDEBUG |
| 6 | endif |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o |
| 9 | obj-$(CONFIG_USB_NET2280) += net2280.o |
Thomas Dahlmann | 55d402d | 2007-07-16 21:40:54 -0700 | [diff] [blame] | 10 | obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o |
Philipp Zabel | 7a85762 | 2008-06-22 23:36:39 +0100 | [diff] [blame] | 11 | obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o |
Robert Jarzmik | d75379a | 2008-04-18 15:56:49 -0700 | [diff] [blame] | 12 | obj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_USB_GOKU) += goku_udc.o |
| 14 | obj-$(CONFIG_USB_OMAP) += omap_udc.o |
| 15 | obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o |
Arnaud Patard | 3fc154b | 2007-06-06 21:05:49 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o |
David Brownell | bae4bd8 | 2006-01-22 10:32:37 -0800 | [diff] [blame] | 17 | obj-$(CONFIG_USB_AT91) += at91_udc.o |
Haavard Skinnemoen | 914a3f3 | 2007-10-10 02:29:43 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o |
Li Yang | b504882 | 2007-04-23 10:54:25 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o |
Yoshihiro Shimoda | 4cf2503 | 2007-05-10 13:18:23 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_USB_M66592) += m66592-udc.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
| 22 | # |
| 23 | # USB gadget drivers |
| 24 | # |
David Brownell | 097db1d | 2008-06-19 18:18:27 -0700 | [diff] [blame] | 25 | C_UTILS = composite.o usbstring.o config.o epautoconf.o |
| 26 | |
David Brownell | 7e75bc0 | 2008-08-18 17:41:31 -0700 | [diff] [blame] | 27 | g_zero-objs := zero.o |
David Brownell | da741b8 | 2008-06-19 18:19:46 -0700 | [diff] [blame] | 28 | g_ether-objs := ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS) |
David Brownell | 4e9ba51 | 2008-08-18 17:41:02 -0700 | [diff] [blame] | 29 | g_serial-objs := serial.o |
David Brownell | 77f754c | 2008-08-18 17:42:04 -0700 | [diff] [blame] | 30 | g_midi-objs := gmidi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | gadgetfs-objs := inode.o |
David Brownell | 352e2b9 | 2008-08-18 17:43:25 -0700 | [diff] [blame^] | 32 | g_file_storage-objs := file_storage.o |
David Brownell | 0a56b03 | 2008-08-18 17:42:49 -0700 | [diff] [blame] | 33 | g_printer-objs := printer.o |
David Brownell | 19e2068 | 2008-06-19 18:20:26 -0700 | [diff] [blame] | 34 | g_cdc-objs := cdc2.o u_ether.o f_ecm.o \ |
| 35 | u_serial.o f_acm.o $(C_UTILS) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | |
| 37 | ifeq ($(CONFIG_USB_ETH_RNDIS),y) |
David Brownell | 45fe3b8 | 2008-06-19 18:20:04 -0700 | [diff] [blame] | 38 | g_ether-objs += f_rndis.o rndis.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | endif |
| 40 | |
| 41 | obj-$(CONFIG_USB_ZERO) += g_zero.o |
| 42 | obj-$(CONFIG_USB_ETH) += g_ether.o |
| 43 | obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o |
| 44 | obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o |
| 45 | obj-$(CONFIG_USB_G_SERIAL) += g_serial.o |
Craig W. Nadler | 25a010c | 2007-11-11 15:00:15 -0800 | [diff] [blame] | 46 | obj-$(CONFIG_USB_G_PRINTER) += g_printer.o |
Ben Williamson | f2ebf92c | 2006-08-01 11:28:16 +1000 | [diff] [blame] | 47 | obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o |
David Brownell | 19e2068 | 2008-06-19 18:20:26 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |