blob: 130dad7130b65a738882f84219099c7f1b166213 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# USB peripheral controller drivers
4#
Andrzej Pietrasiewicz8443f2d2014-07-15 13:09:44 +02005subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
6subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
Yegor Yefremovfa314092014-08-27 10:42:53 +02007ccflags-y += -I$(srctree)/drivers/usb/gadget/udc
David Brownell70790f62007-07-01 17:35:28 -07008
Sebastian Andrzej Siewiora84d9e52012-09-06 20:11:09 +02009obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
Sebastian Andrzej Siewior721e2e92012-09-06 20:11:27 +020010libcomposite-y := usbstring.o config.o epautoconf.o
Andrzej Pietrasiewicz1efd54e2013-11-07 08:41:26 +010011libcomposite-y += composite.o functions.o configfs.o u_f.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Andrzej Pietrasiewicz00a24302014-07-15 13:09:46 +020013obj-$(CONFIG_USB_GADGET) += udc/ function/ legacy/