xref: /openbmc/u-boot/drivers/usb/gadget/Makefile (revision d1b6c77e)
12731b9a8SJean-Christophe PLAGNIOL-VILLARD#
22731b9a8SJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2007
32731b9a8SJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
42731b9a8SJean-Christophe PLAGNIOL-VILLARD#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
62731b9a8SJean-Christophe PLAGNIOL-VILLARD#
72731b9a8SJean-Christophe PLAGNIOL-VILLARD
84f57a90cSMasahiro Yamadaobj-$(CONFIG_USB_GADGET) += epautoconf.o config.o usbstring.o
94f57a90cSMasahiro Yamadaobj-$(CONFIG_USB_ETHER) += epautoconf.o config.o usbstring.o
10a04983d6SPantelis Antoniou
117b2f3906SVitaly Kuzmichev# new USB gadget layer dependencies
1238517a78SLukasz Majewskiifdef CONFIG_USB_GADGET
1344e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
1444e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += s3c_udc_otg.o
15*d1b6c77eSMarek Vasutobj-$(CONFIG_USB_GADGET_S3C_UDC_OTG_PHY) += s3c_udc_otg_phy.o
1644e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
172fc5dab2SStephen Warrenobj-$(CONFIG_CI_UDC)	+= ci_udc.o
1844e32c71SMasahiro Yamadaobj-$(CONFIG_THOR_FUNCTION) += f_thor.o
1944e32c71SMasahiro Yamadaobj-$(CONFIG_USBDOWNLOAD_GADGET) += g_dnl.o
2044e32c71SMasahiro Yamadaobj-$(CONFIG_DFU_FUNCTION) += f_dfu.o
2144e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_MASS_STORAGE) += f_mass_storage.o
223aab70afSSebastian Siewiorobj-$(CONFIG_CMD_FASTBOOT) += f_fastboot.o
2338517a78SLukasz Majewskiendif
247b2f3906SVitaly Kuzmichevifdef CONFIG_USB_ETHER
2544e32c71SMasahiro Yamadaobj-y += ether.o
2644e32c71SMasahiro Yamadaobj-$(CONFIG_USB_ETH_RNDIS) += rndis.o
27f016f8caSMarek Vasutobj-$(CONFIG_CI_UDC)	+= ci_udc.o
2844e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA25X) += pxa25x_udc.o
297b2f3906SVitaly Kuzmichevelse
3023cd1385SRemy Bohmer# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE
312731b9a8SJean-Christophe PLAGNIOL-VILLARDifdef CONFIG_USB_DEVICE
3244e32c71SMasahiro Yamadaobj-y += core.o
3344e32c71SMasahiro Yamadaobj-y += ep0.o
3444e32c71SMasahiro Yamadaobj-$(CONFIG_DW_UDC) += designware_udc.o
3544e32c71SMasahiro Yamadaobj-$(CONFIG_MPC885_FAMILY) += mpc8xx_udc.o
3644e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA27X) += pxa27x_udc.o
372731b9a8SJean-Christophe PLAGNIOL-VILLARDendif
387b2f3906SVitaly Kuzmichevendif
39