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