xref: /openbmc/u-boot/drivers/usb/gadget/Makefile (revision 01acd6ab)
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
15d1b6c77eSMarek 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
18*01acd6abSPaul Kocialkowskiobj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o
19*01acd6abSPaul Kocialkowskiobj-$(CONFIG_USB_FUNCTION_THOR) += f_thor.o
20*01acd6abSPaul Kocialkowskiobj-$(CONFIG_USB_FUNCTION_DFU) += f_dfu.o
21*01acd6abSPaul Kocialkowskiobj-$(CONFIG_USB_FUNCTION_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