blob: abd0c3e66a05d8de76be3039e0a41047247d89c4 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Andrzej Pietrasiewicz8443f2d2014-07-15 13:09:44 +02002#
3# USB gadget drivers
4#
5
Yegor Yefremovfa314092014-08-27 10:42:53 +02006ccflags-y := -I$(srctree)/drivers/usb/gadget/
7ccflags-y += -I$(srctree)/drivers/usb/gadget/udc/
8ccflags-y += -I$(srctree)/drivers/usb/gadget/function/
Andrzej Pietrasiewicz8443f2d2014-07-15 13:09:44 +02009
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
Andrzej Pietrasiewiczc9138812014-09-09 02:02:11 +030023g_webcam-y := webcam.o
Andrzej Pietrasiewicz8443f2d2014-07-15 13:09:44 +020024g_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