rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # USB peripheral controller drivers |
| 4 | # |
| 5 | subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG |
| 6 | subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG |
| 7 | ccflags-y += -I$(srctree)/drivers/usb/gadget/udc |
| 8 | |
| 9 | obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o |
| 10 | libcomposite-y := usbstring.o config.o epautoconf.o |
| 11 | libcomposite-y += composite.o functions.o configfs.o u_f.o |
| 12 | |
| 13 | obj-$(CONFIG_USB_GADGET) += udc/ function/ legacy/ |