Makefile 1.3 KB

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