^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # USB peripheral controller drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) ccflags-y += -I$(srctree)/drivers/usb/gadget/udc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) libcomposite-y := usbstring.o config.o epautoconf.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) libcomposite-y += composite.o functions.o configfs.o u_f.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) obj-$(CONFIG_USB_GADGET) += udc/ function/ legacy/