xref: /openbmc/u-boot/drivers/usb/gadget/Makefile (revision f016f8ca)
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
1644e32c71SMasahiro Yamadaobj-$(CONFIG_THOR_FUNCTION) += f_thor.o
1744e32c71SMasahiro Yamadaobj-$(CONFIG_USBDOWNLOAD_GADGET) += g_dnl.o
1844e32c71SMasahiro Yamadaobj-$(CONFIG_DFU_FUNCTION) += f_dfu.o
1944e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_MASS_STORAGE) += f_mass_storage.o
2038517a78SLukasz Majewskiendif
217b2f3906SVitaly Kuzmichevifdef CONFIG_USB_ETHER
2244e32c71SMasahiro Yamadaobj-y += ether.o
2344e32c71SMasahiro Yamadaobj-$(CONFIG_USB_ETH_RNDIS) += rndis.o
24*f016f8caSMarek Vasutobj-$(CONFIG_CI_UDC)	+= ci_udc.o
2544e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA25X) += pxa25x_udc.o
267b2f3906SVitaly Kuzmichevelse
2723cd1385SRemy Bohmer# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE
282731b9a8SJean-Christophe PLAGNIOL-VILLARDifdef CONFIG_USB_DEVICE
2944e32c71SMasahiro Yamadaobj-y += core.o
3044e32c71SMasahiro Yamadaobj-y += ep0.o
3144e32c71SMasahiro Yamadaobj-$(CONFIG_DW_UDC) += designware_udc.o
3244e32c71SMasahiro Yamadaobj-$(CONFIG_OMAP1510) += omap1510_udc.o
3344e32c71SMasahiro Yamadaobj-$(CONFIG_OMAP1610) += omap1510_udc.o
3444e32c71SMasahiro Yamadaobj-$(CONFIG_MPC885_FAMILY) += mpc8xx_udc.o
3544e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA27X) += pxa27x_udc.o
362731b9a8SJean-Christophe PLAGNIOL-VILLARDendif
377b2f3906SVitaly Kuzmichevendif
38