Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # USB peripheral controller drivers |
| 4 | # |
Andrzej Pietrasiewicz | 8443f2d | 2014-07-15 13:09:44 +0200 | [diff] [blame] | 5 | subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG |
| 6 | subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG |
Yegor Yefremov | fa31409 | 2014-08-27 10:42:53 +0200 | [diff] [blame] | 7 | ccflags-y += -I$(srctree)/drivers/usb/gadget/udc |
David Brownell | 70790f6 | 2007-07-01 17:35:28 -0700 | [diff] [blame] | 8 | |
Sebastian Andrzej Siewior | a84d9e5 | 2012-09-06 20:11:09 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o |
Sebastian Andrzej Siewior | 721e2e9 | 2012-09-06 20:11:27 +0200 | [diff] [blame] | 10 | libcomposite-y := usbstring.o config.o epautoconf.o |
Andrzej Pietrasiewicz | 1efd54e | 2013-11-07 08:41:26 +0100 | [diff] [blame] | 11 | libcomposite-y += composite.o functions.o configfs.o u_f.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Andrzej Pietrasiewicz | 00a2430 | 2014-07-15 13:09:46 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_USB_GADGET) += udc/ function/ legacy/ |