2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-11-24 18:40:11 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2023-05-06 14:42:39 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_GADGET) += epautoconf.o config.o usbstring.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_ETHER) += epautoconf.o config.o usbstring.o ether.o
|
2023-05-06 14:42:40 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_ETH_RNDIS) += rndis.o
|
2012-12-03 00:10:28 +00:00
|
|
|
|
2016-11-21 18:58:52 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2019-01-10 14:44:13 +00:00
|
|
|
obj-$(CONFIG_SPL_USB_GADGET) += g_dnl.o
|
2019-01-17 19:43:02 +00:00
|
|
|
obj-$(CONFIG_SPL_DFU) += f_dfu.o
|
2017-08-16 18:00:54 +00:00
|
|
|
obj-$(CONFIG_SPL_USB_SDP_SUPPORT) += f_sdp.o
|
2016-11-21 18:58:52 +00:00
|
|
|
endif
|
|
|
|
|
2010-08-12 12:44:39 +00:00
|
|
|
# new USB gadget layer dependencies
|
2011-10-27 08:36:46 +00:00
|
|
|
ifdef CONFIG_USB_GADGET
|
2015-09-08 09:52:51 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_AT91) += at91_udc.o
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
|
2015-07-09 21:26:40 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_BCM_UDC_OTG_PHY) += bcm_udc_otg_phy.o
|
2015-08-19 21:27:26 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_DWC2_OTG) += dwc2_udc_otg.o
|
|
|
|
obj-$(CONFIG_USB_GADGET_DWC2_OTG_PHY) += dwc2_udc_otg_phy.o
|
2023-02-11 14:25:44 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_MAX3420) += max3420_udc.o
|
2016-09-27 12:36:56 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2016-11-21 18:58:53 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o
|
2016-11-21 18:58:52 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTION_THOR) += f_thor.o
|
2018-02-16 15:41:18 +00:00
|
|
|
obj-$(CONFIG_DFU_OVER_USB) += f_dfu.o
|
2015-06-12 17:56:58 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTION_MASS_STORAGE) += f_mass_storage.o
|
2015-06-12 17:56:59 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTION_FASTBOOT) += f_fastboot.o
|
2017-08-16 18:00:51 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTION_SDP) += f_sdp.o
|
2017-12-15 00:17:10 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTION_ROCKUSB) += f_rockusb.o
|
2021-11-25 17:16:15 +00:00
|
|
|
obj-$(CONFIG_USB_FUNCTION_ACM) += f_acm.o
|
2011-10-27 08:36:46 +00:00
|
|
|
endif
|
2016-11-21 18:58:52 +00:00
|
|
|
endif
|
2022-08-23 17:06:51 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_CI_UDC) += ci_udc.o
|
|
|
|
|
2009-07-29 16:18:43 +00:00
|
|
|
# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE
|
2022-08-23 17:06:51 +00:00
|
|
|
# This is really only N900 and USBTTY now.
|
|
|
|
obj-$(CONFIG_USB_DEVICE) += core.o ep0.o
|