2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# USB peripheral controller drivers
|
|
|
|
#
|
2014-07-15 11:09:44 +00:00
|
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
|
|
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
|
2014-07-15 11:09:45 +00:00
|
|
|
ccflags-y += -I$(PWD)/drivers/usb/gadget/udc
|
2007-07-02 00:35:28 +00:00
|
|
|
|
2012-09-06 18:11:09 +00:00
|
|
|
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
|
2012-09-06 18:11:27 +00:00
|
|
|
libcomposite-y := usbstring.o config.o epautoconf.o
|
2013-11-07 07:41:26 +00:00
|
|
|
libcomposite-y += composite.o functions.o configfs.o u_f.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2013-02-06 08:50:34 +00:00
|
|
|
# USB Functions
|
2013-02-07 13:36:27 +00:00
|
|
|
usb_f_acm-y := f_acm.o
|
|
|
|
obj-$(CONFIG_USB_F_ACM) += usb_f_acm.o
|
|
|
|
usb_f_ss_lb-y := f_loopback.o f_sourcesink.o
|
|
|
|
obj-$(CONFIG_USB_F_SS_LB) += usb_f_ss_lb.o
|
2013-02-06 08:50:34 +00:00
|
|
|
obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
|
2013-03-18 08:52:57 +00:00
|
|
|
usb_f_serial-y := f_serial.o
|
|
|
|
obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
|
2013-03-21 14:33:42 +00:00
|
|
|
usb_f_obex-y := f_obex.o
|
|
|
|
obj-$(CONFIG_USB_F_OBEX) += usb_f_obex.o
|
usb: gadget: u_ether: convert into module
u_ether.c has been #include'd by all gadgets which implement
USB Ethernet functions. In order to add configfs support,
the f_ecm.c, f_eem.c, f_ncm.c, f_subset.c, f_rndis.c need to be
converted into modules and must not be #include'd. Consequently,
the u_ether.c needs to be a module too, in a manner similar
to u_serial.c. The resulting module should not take any parameters,
so they are pushed to the current users of it, that is ether.c,
g_ffs.c, multi.c, ncm.c, nokia.c.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-05-23 07:22:03 +00:00
|
|
|
obj-$(CONFIG_USB_U_ETHER) += u_ether.o
|
2013-05-23 07:22:06 +00:00
|
|
|
usb_f_ncm-y := f_ncm.o
|
|
|
|
obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
|
2013-05-23 08:32:03 +00:00
|
|
|
usb_f_ecm-y := f_ecm.o
|
|
|
|
obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
|
2013-05-23 08:51:11 +00:00
|
|
|
usb_f_phonet-y := f_phonet.o
|
|
|
|
obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o
|
2013-05-28 07:15:47 +00:00
|
|
|
usb_f_eem-y := f_eem.o
|
|
|
|
obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o
|
2013-05-28 07:15:53 +00:00
|
|
|
usb_f_ecm_subset-y := f_subset.o
|
|
|
|
obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
|
2013-12-03 14:15:29 +00:00
|
|
|
usb_f_rndis-y := f_rndis.o rndis.o
|
2013-05-28 07:15:57 +00:00
|
|
|
obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
|
2013-10-09 08:08:29 +00:00
|
|
|
usb_f_mass_storage-y := f_mass_storage.o storage_common.o
|
2013-10-09 08:06:01 +00:00
|
|
|
obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
|
2013-12-03 14:15:33 +00:00
|
|
|
usb_f_fs-y := f_fs.o
|
|
|
|
obj-$(CONFIG_USB_F_FS) += usb_f_fs.o
|
2013-02-06 08:50:34 +00:00
|
|
|
|
2014-07-15 11:09:45 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET) += udc/ legacy/
|