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
|
2013-10-17 08:34:56 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
|
|
|
|
obj-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += s3c_udc_otg.o
|
|
|
|
obj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
|
|
|
|
obj-$(CONFIG_THOR_FUNCTION) += f_thor.o
|
|
|
|
obj-$(CONFIG_USBDOWNLOAD_GADGET) += g_dnl.o
|
|
|
|
obj-$(CONFIG_DFU_FUNCTION) += f_dfu.o
|
|
|
|
obj-$(CONFIG_USB_GADGET_MASS_STORAGE) += f_mass_storage.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
|
|
|
|
obj-$(CONFIG_MV_UDC) += mv_udc.o
|
|
|
|
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_OMAP1510) += omap1510_udc.o
|
|
|
|
obj-$(CONFIG_OMAP1610) += omap1510_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
|