usb: gadget: mtp/ptp: Migrate functions to the USB_FUNCTION interface
[firefly-linux-kernel-4.4.55.git] / drivers / usb / gadget / Makefile
1 #
2 # USB peripheral controller drivers
3 #
4 subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG)       := -DDEBUG
5 subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE)     += -DVERBOSE_DEBUG
6 ccflags-y                               += -I$(srctree)/drivers/usb/gadget/udc
7
8 obj-$(CONFIG_USB_LIBCOMPOSITE)  += libcomposite.o
9 libcomposite-y                  := usbstring.o config.o epautoconf.o
10 libcomposite-y                  += composite.o functions.o configfs.o u_f.o
11
12 obj-$(CONFIG_USB_GADGET)        += udc/ function/ legacy/
13
14 usb_f_mtp-y                     := f_mtp.o
15 obj-$(CONFIG_USB_F_MTP)         += usb_f_mtp.o
16 usb_f_ptp-y                     := f_ptp.o
17 obj-$(CONFIG_USB_F_PTP)         += usb_f_ptp.o