blob: fcb5cb9094d905d7e26c35a7dae074fc28b633bd [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
27g_zero-objs := zero.o f_sourcesink.o f_loopback.o $(C_UTILS)
David Brownellda741b82008-06-19 18:19:46 -070028g_ether-objs := ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS)
David Brownell61d8bae2008-06-19 18:18:50 -070029g_serial-objs := serial.o u_serial.o f_acm.o f_serial.o $(C_UTILS)
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100030g_midi-objs := gmidi.o usbstring.o config.o epautoconf.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070031gadgetfs-objs := inode.o
32g_file_storage-objs := file_storage.o usbstring.o config.o \
33 epautoconf.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080034g_printer-objs := printer.o usbstring.o config.o \
35 epautoconf.o
David Brownell19e20682008-06-19 18:20:26 -070036g_cdc-objs := cdc2.o u_ether.o f_ecm.o \
37 u_serial.o f_acm.o $(C_UTILS)
Linus Torvalds1da177e2005-04-16 15:20:36 -070038
39ifeq ($(CONFIG_USB_ETH_RNDIS),y)
David Brownell45fe3b82008-06-19 18:20:04 -070040 g_ether-objs += f_rndis.o rndis.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070041endif
42
43obj-$(CONFIG_USB_ZERO) += g_zero.o
44obj-$(CONFIG_USB_ETH) += g_ether.o
45obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
46obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o
47obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080048obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100049obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
David Brownell19e20682008-06-19 18:20:26 -070050obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070051