2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# USB peripheral controller drivers
|
|
|
|
#
|
2014-07-15 19:09:44 +08:00
|
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
|
|
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
|
2014-07-15 19:09:45 +08:00
|
|
|
ccflags-y += -I$(PWD)/drivers/usb/gadget/udc
|
2007-07-02 08:35:28 +08:00
|
|
|
|
2012-09-07 02:11:09 +08:00
|
|
|
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
|
2012-09-07 02:11:27 +08:00
|
|
|
libcomposite-y := usbstring.o config.o epautoconf.o
|
2013-11-07 15:41:26 +08:00
|
|
|
libcomposite-y += composite.o functions.o configfs.o u_f.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2013-02-06 16:50:34 +08:00
|
|
|
# USB Functions
|
2013-02-07 21:36:27 +08: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 16:50:34 +08:00
|
|
|
obj-$(CONFIG_USB_U_SERIAL) += u_serial.o
|
2013-03-18 16:52:57 +08:00
|
|
|
usb_f_serial-y := f_serial.o
|
|
|
|
obj-$(CONFIG_USB_F_SERIAL) += usb_f_serial.o
|
2013-03-21 22:33:42 +08: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 15:22:03 +08:00
|
|
|
obj-$(CONFIG_USB_U_ETHER) += u_ether.o
|
2013-05-23 15:22:06 +08:00
|
|
|
usb_f_ncm-y := f_ncm.o
|
|
|
|
obj-$(CONFIG_USB_F_NCM) += usb_f_ncm.o
|
2013-05-23 16:32:03 +08:00
|
|
|
usb_f_ecm-y := f_ecm.o
|
|
|
|
obj-$(CONFIG_USB_F_ECM) += usb_f_ecm.o
|
2013-05-23 16:51:11 +08:00
|
|
|
usb_f_phonet-y := f_phonet.o
|
|
|
|
obj-$(CONFIG_USB_F_PHONET) += usb_f_phonet.o
|
2013-05-28 15:15:47 +08:00
|
|
|
usb_f_eem-y := f_eem.o
|
|
|
|
obj-$(CONFIG_USB_F_EEM) += usb_f_eem.o
|
2013-05-28 15:15:53 +08:00
|
|
|
usb_f_ecm_subset-y := f_subset.o
|
|
|
|
obj-$(CONFIG_USB_F_SUBSET) += usb_f_ecm_subset.o
|
2013-12-03 22:15:29 +08:00
|
|
|
usb_f_rndis-y := f_rndis.o rndis.o
|
2013-05-28 15:15:57 +08:00
|
|
|
obj-$(CONFIG_USB_F_RNDIS) += usb_f_rndis.o
|
2013-10-09 16:08:29 +08:00
|
|
|
usb_f_mass_storage-y := f_mass_storage.o storage_common.o
|
2013-10-09 16:06:01 +08:00
|
|
|
obj-$(CONFIG_USB_F_MASS_STORAGE)+= usb_f_mass_storage.o
|
2013-12-03 22:15:33 +08:00
|
|
|
usb_f_fs-y := f_fs.o
|
|
|
|
obj-$(CONFIG_USB_F_FS) += usb_f_fs.o
|
2013-02-06 16:50:34 +08:00
|
|
|
|
2014-07-15 19:09:45 +08:00
|
|
|
obj-$(CONFIG_USB_GADGET) += udc/ legacy/
|