2007-11-24 18:40:11 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2007
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2007-11-24 18:40:11 +00:00
|
|
|
#
|
|
|
|
|
2013-11-28 03:20:14 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET) += epautoconf.o config.o usbstring.o
|
|
|
|
obj-$(CONFIG_USB_ETHER) += epautoconf.o config.o usbstring.o
|
2012-12-03 00:10:28 +00:00
|
|
|
|
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
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += s3c_udc_otg.o
|
2014-11-04 03:13:57 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG_PHY) += s3c_udc_otg_phy.o
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
|
2014-04-28 21:42:00 +00:00
|
|
|
obj-$(CONFIG_CI_UDC) += ci_udc.o
|
2015-06-12 17:56:58 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o
|
|
|
|
obj-$(CONFIG_USB_FUNCTION_THOR) += f_thor.o
|
|
|
|
obj-$(CONFIG_USB_FUNCTION_DFU) += f_dfu.o
|
|
|
|
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
|
2011-10-27 08:36:46 +00:00
|
|
|
endif
|
2010-08-12 12:44:39 +00:00
|
|
|
ifdef CONFIG_USB_ETHER
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-y += ether.o
|
|
|
|
obj-$(CONFIG_USB_ETH_RNDIS) += rndis.o
|
2014-02-06 01:43:45 +00:00
|
|
|
obj-$(CONFIG_CI_UDC) += ci_udc.o
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-$(CONFIG_CPU_PXA25X) += pxa25x_udc.o
|
2010-08-12 12:44:39 +00:00
|
|
|
else
|
2009-07-29 16:18:43 +00:00
|
|
|
# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE
|
2008-11-07 21:46:21 +00:00
|
|
|
ifdef CONFIG_USB_DEVICE
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-y += core.o
|
|
|
|
obj-y += ep0.o
|
|
|
|
obj-$(CONFIG_DW_UDC) += designware_udc.o
|
|
|
|
obj-$(CONFIG_MPC885_FAMILY) += mpc8xx_udc.o
|
|
|
|
obj-$(CONFIG_CPU_PXA27X) += pxa27x_udc.o
|
2008-11-07 21:46:21 +00:00
|
|
|
endif
|
2010-08-12 12:44:39 +00:00
|
|
|
endif
|