1# SPDX-License-Identifier: GPL-2.0 2# 3# USB gadget drivers 4# 5 6ccflags-y := -I$(srctree)/drivers/usb/gadget/ 7ccflags-y += -I$(srctree)/drivers/usb/gadget/udc/ 8ccflags-y += -I$(srctree)/drivers/usb/gadget/function/ 9 10g_zero-y := zero.o 11g_audio-y := audio.o 12g_ether-y := ether.o 13g_serial-y := serial.o 14g_midi-y := gmidi.o 15gadgetfs-y := inode.o 16g_mass_storage-y := mass_storage.o 17g_printer-y := printer.o 18g_cdc-y := cdc2.o 19g_multi-y := multi.o 20g_hid-y := hid.o 21g_dbgp-y := dbgp.o 22g_nokia-y := nokia.o 23g_webcam-y := webcam.o 24g_ncm-y := ncm.o 25g_acm_ms-y := acm_ms.o 26g_tcm_usb_gadget-y := tcm_usb_gadget.o 27 28obj-$(CONFIG_USB_ZERO) += g_zero.o 29obj-$(CONFIG_USB_AUDIO) += g_audio.o 30obj-$(CONFIG_USB_ETH) += g_ether.o 31obj-$(CONFIG_USB_GADGETFS) += gadgetfs.o 32obj-$(CONFIG_USB_FUNCTIONFS) += g_ffs.o 33obj-$(CONFIG_USB_MASS_STORAGE) += g_mass_storage.o 34obj-$(CONFIG_USB_G_SERIAL) += g_serial.o 35obj-$(CONFIG_USB_G_PRINTER) += g_printer.o 36obj-$(CONFIG_USB_MIDI_GADGET) += g_midi.o 37obj-$(CONFIG_USB_CDC_COMPOSITE) += g_cdc.o 38obj-$(CONFIG_USB_G_HID) += g_hid.o 39obj-$(CONFIG_USB_G_DBGP) += g_dbgp.o 40obj-$(CONFIG_USB_G_MULTI) += g_multi.o 41obj-$(CONFIG_USB_G_NOKIA) += g_nokia.o 42obj-$(CONFIG_USB_G_WEBCAM) += g_webcam.o 43obj-$(CONFIG_USB_G_NCM) += g_ncm.o 44obj-$(CONFIG_USB_G_ACM_MS) += g_acm_ms.o 45obj-$(CONFIG_USB_GADGET_TARGET) += tcm_usb_gadget.o 46