blob: 736d58fe941eccb83d71fbe26419401bd3fbd84c [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070013obj-$(CONFIG_USB_GOKU) += goku_udc.o
14obj-$(CONFIG_USB_OMAP) += omap_udc.o
15obj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o
Arnaud Patard3fc154b2007-06-06 21:05:49 -070016obj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o
David Brownellbae4bd82006-01-22 10:32:37 -080017obj-$(CONFIG_USB_AT91) += at91_udc.o
Haavard Skinnemoen914a3f32007-10-10 02:29:43 -070018obj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o
Li Yangb5048822007-04-23 10:54:25 -070019obj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o
Yoshihiro Shimoda4cf25032007-05-10 13:18:23 +090020obj-$(CONFIG_USB_M66592) += m66592-udc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
22#
23# USB gadget drivers
24#
David Brownell097db1d2008-06-19 18:18:27 -070025C_UTILS = composite.o usbstring.o config.o epautoconf.o
26
David Brownell7e75bc02008-08-18 17:41:31 -070027g_zero-objs := zero.o
David Brownellda741b82008-06-19 18:19:46 -070028g_ether-objs := ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS)
David Brownell4e9ba512008-08-18 17:41:02 -070029g_serial-objs := serial.o
David Brownell77f754c2008-08-18 17:42:04 -070030g_midi-objs := gmidi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070031gadgetfs-objs := inode.o
David Brownell352e2b92008-08-18 17:43:25 -070032g_file_storage-objs := file_storage.o
David Brownell0a56b032008-08-18 17:42:49 -070033g_printer-objs := printer.o
David Brownell19e20682008-06-19 18:20:26 -070034g_cdc-objs := cdc2.o u_ether.o f_ecm.o \
35 u_serial.o f_acm.o $(C_UTILS)
Linus Torvalds1da177e2005-04-16 15:20:36 -070036
37ifeq ($(CONFIG_USB_ETH_RNDIS),y)
David Brownell45fe3b82008-06-19 18:20:04 -070038 g_ether-objs += f_rndis.o rndis.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070039endif
40
41obj-$(CONFIG_USB_ZERO) += g_zero.o
42obj-$(CONFIG_USB_ETH) += g_ether.o
43obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
44obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o
45obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080046obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100047obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
David Brownell19e20682008-06-19 18:20:26 -070048obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070049