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