2024-09-09 08:52:07 +00:00
|
|
|
#
|
|
|
|
# USB peripheral controller drivers
|
|
|
|
#
|
2024-09-09 08:57:42 +00:00
|
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
|
|
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
|
|
|
|
ccflags-y += -I$(srctree)/drivers/usb/gadget/udc -I$(srctree)/drivers/usb/gadget/function
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
|
|
|
|
libcomposite-y := usbstring.o config.o epautoconf.o
|
|
|
|
libcomposite-y += composite.o functions.o configfs.o u_f.o
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
obj-y += debug.o
|
2024-09-09 08:52:07 +00:00
|
|
|
g_android-y := android.o
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET) += udc/ function/ legacy/
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
obj-$(CONFIG_USB_G_ANDROID) += g_android.o
|
2024-09-09 08:57:42 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_USB_CI13XXX_MSM) += ci13xxx_msm.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_USB_CI13XXX_MSM_HSIC) += ci13xxx_msm_hsic.o
|