xref: /openbmc/u-boot/drivers/usb/gadget/Makefile (revision 3aab70af)
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
1544e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
162fc5dab2SStephen Warrenobj-$(CONFIG_CI_UDC)	+= ci_udc.o
1744e32c71SMasahiro Yamadaobj-$(CONFIG_THOR_FUNCTION) += f_thor.o
1844e32c71SMasahiro Yamadaobj-$(CONFIG_USBDOWNLOAD_GADGET) += g_dnl.o
1944e32c71SMasahiro Yamadaobj-$(CONFIG_DFU_FUNCTION) += f_dfu.o
2044e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_MASS_STORAGE) += f_mass_storage.o
21*3aab70afSSebastian Siewiorobj-$(CONFIG_CMD_FASTBOOT) += f_fastboot.o
2238517a78SLukasz Majewskiendif
237b2f3906SVitaly Kuzmichevifdef CONFIG_USB_ETHER
2444e32c71SMasahiro Yamadaobj-y += ether.o
2544e32c71SMasahiro Yamadaobj-$(CONFIG_USB_ETH_RNDIS) += rndis.o
26f016f8caSMarek Vasutobj-$(CONFIG_CI_UDC)	+= ci_udc.o
2744e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA25X) += pxa25x_udc.o
287b2f3906SVitaly Kuzmichevelse
2923cd1385SRemy Bohmer# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE
302731b9a8SJean-Christophe PLAGNIOL-VILLARDifdef CONFIG_USB_DEVICE
3144e32c71SMasahiro Yamadaobj-y += core.o
3244e32c71SMasahiro Yamadaobj-y += ep0.o
3344e32c71SMasahiro Yamadaobj-$(CONFIG_DW_UDC) += designware_udc.o
3444e32c71SMasahiro Yamadaobj-$(CONFIG_OMAP1510) += omap1510_udc.o
3544e32c71SMasahiro Yamadaobj-$(CONFIG_OMAP1610) += omap1510_udc.o
3644e32c71SMasahiro Yamadaobj-$(CONFIG_MPC885_FAMILY) += mpc8xx_udc.o
3744e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA27X) += pxa27x_udc.o
382731b9a8SJean-Christophe PLAGNIOL-VILLARDendif
397b2f3906SVitaly Kuzmichevendif
40