xref: /linux/drivers/usb/gadget/Makefile (revision 00a2430ff07d4e0e0e7e24e02fd8adede333b797)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB peripheral controller drivers
31da177e4SLinus Torvalds#
48443f2d2SAndrzej Pietrasiewiczsubdir-ccflags-$(CONFIG_USB_GADGET_DEBUG)	:= -DDEBUG
58443f2d2SAndrzej Pietrasiewiczsubdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE)	+= -DVERBOSE_DEBUG
690fccb52SAndrzej Pietrasiewiczccflags-y				+= -I$(PWD)/drivers/usb/gadget/udc
770790f63SDavid Brownell
8a84d9e53SSebastian Andrzej Siewiorobj-$(CONFIG_USB_LIBCOMPOSITE)	+= libcomposite.o
9721e2e91SSebastian Andrzej Siewiorlibcomposite-y			:= usbstring.o config.o epautoconf.o
101efd54eaSAndrzej Pietrasiewiczlibcomposite-y			+= composite.o functions.o configfs.o u_f.o
111da177e4SLinus Torvalds
12*00a2430fSAndrzej Pietrasiewiczobj-$(CONFIG_USB_GADGET)	+= udc/ function/ legacy/
13