blob: 12357255d740a6a04e287839b31f47ee7bd8bf54 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070011obj-$(CONFIG_USB_PXA2XX) += pxa2xx_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#
25g_zero-objs := zero.o usbstring.o config.o epautoconf.o
26g_ether-objs := ether.o usbstring.o config.o epautoconf.o
27g_serial-objs := serial.o usbstring.o config.o epautoconf.o
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100028g_midi-objs := gmidi.o usbstring.o config.o epautoconf.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070029gadgetfs-objs := inode.o
30g_file_storage-objs := file_storage.o usbstring.o config.o \
31 epautoconf.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080032g_printer-objs := printer.o usbstring.o config.o \
33 epautoconf.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35ifeq ($(CONFIG_USB_ETH_RNDIS),y)
36 g_ether-objs += rndis.o
37endif
38
39obj-$(CONFIG_USB_ZERO) += g_zero.o
40obj-$(CONFIG_USB_ETH) += g_ether.o
41obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o
42obj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o
43obj-$(CONFIG_USB_G_SERIAL) += g_serial.o
Craig W. Nadler25a010c2007-11-11 15:00:15 -080044obj-$(CONFIG_USB_G_PRINTER) += g_printer.o
Ben Williamsonf2ebf92c2006-08-01 11:28:16 +100045obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070046