11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# USB peripheral controller drivers 31da177e4SLinus Torvalds# 470790f63SDavid Brownellifeq ($(CONFIG_USB_GADGET_DEBUG),y) 570790f63SDavid Brownell EXTRA_CFLAGS += -DDEBUG 670790f63SDavid Brownellendif 770790f63SDavid Brownell 81da177e4SLinus Torvaldsobj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o 91da177e4SLinus Torvaldsobj-$(CONFIG_USB_NET2280) += net2280.o 1055d402d8SThomas Dahlmannobj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o 117a857620SPhilipp Zabelobj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o 12d75379a5SRobert Jarzmikobj-$(CONFIG_USB_PXA27X) += pxa27x_udc.o 131da177e4SLinus Torvaldsobj-$(CONFIG_USB_GOKU) += goku_udc.o 141da177e4SLinus Torvaldsobj-$(CONFIG_USB_OMAP) += omap_udc.o 151da177e4SLinus Torvaldsobj-$(CONFIG_USB_LH7A40X) += lh7a40x_udc.o 163fc154b6SArnaud Patardobj-$(CONFIG_USB_S3C2410) += s3c2410_udc.o 17bae4bd84SDavid Brownellobj-$(CONFIG_USB_AT91) += at91_udc.o 18914a3f3bSHaavard Skinnemoenobj-$(CONFIG_USB_ATMEL_USBA) += atmel_usba_udc.o 19b504882dSLi Yangobj-$(CONFIG_USB_FSL_USB2) += fsl_usb2_udc.o 204cf2503cSYoshihiro Shimodaobj-$(CONFIG_USB_M66592) += m66592-udc.o 211da177e4SLinus Torvalds 221da177e4SLinus Torvalds# 231da177e4SLinus Torvalds# USB gadget drivers 241da177e4SLinus Torvalds# 25097db1d0SDavid BrownellC_UTILS = composite.o usbstring.o config.o epautoconf.o 26097db1d0SDavid Brownell 27097db1d0SDavid Brownellg_zero-objs := zero.o f_sourcesink.o f_loopback.o $(C_UTILS) 28da741b8cSDavid Brownellg_ether-objs := ether.o u_ether.o f_subset.o f_ecm.o $(C_UTILS) 2961d8baeaSDavid Brownellg_serial-objs := serial.o u_serial.o f_acm.o f_serial.o $(C_UTILS) 30f2ebf92cSBen Williamsong_midi-objs := gmidi.o usbstring.o config.o epautoconf.o 311da177e4SLinus Torvaldsgadgetfs-objs := inode.o 321da177e4SLinus Torvaldsg_file_storage-objs := file_storage.o usbstring.o config.o \ 331da177e4SLinus Torvalds epautoconf.o 3425a010c8SCraig W. Nadlerg_printer-objs := printer.o usbstring.o config.o \ 3525a010c8SCraig W. Nadler epautoconf.o 36*19e20680SDavid Brownellg_cdc-objs := cdc2.o u_ether.o f_ecm.o \ 37*19e20680SDavid Brownell u_serial.o f_acm.o $(C_UTILS) 381da177e4SLinus Torvalds 391da177e4SLinus Torvaldsifeq ($(CONFIG_USB_ETH_RNDIS),y) 4045fe3b8eSDavid Brownell g_ether-objs += f_rndis.o rndis.o 411da177e4SLinus Torvaldsendif 421da177e4SLinus Torvalds 431da177e4SLinus Torvaldsobj-$(CONFIG_USB_ZERO) += g_zero.o 441da177e4SLinus Torvaldsobj-$(CONFIG_USB_ETH) += g_ether.o 451da177e4SLinus Torvaldsobj-$(CONFIG_USB_GADGETFS) += gadgetfs.o 461da177e4SLinus Torvaldsobj-$(CONFIG_USB_FILE_STORAGE) += g_file_storage.o 471da177e4SLinus Torvaldsobj-$(CONFIG_USB_G_SERIAL) += g_serial.o 4825a010c8SCraig W. Nadlerobj-$(CONFIG_USB_G_PRINTER) += g_printer.o 49f2ebf92cSBen Williamsonobj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o 50*19e20680SDavid Brownellobj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o 511da177e4SLinus Torvalds 52