1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2f1407d5cSKuninori Morimoto#
3f1407d5cSKuninori Morimoto# for Renesas USB
4f1407d5cSKuninori Morimoto#
5f1407d5cSKuninori Morimoto
6f1407d5cSKuninori Morimotoobj-$(CONFIG_USB_RENESAS_USBHS)	+= renesas_usbhs.o
7f1407d5cSKuninori Morimoto
8de18757eSYoshihiro Shimodarenesas_usbhs-y			:= common.o mod.o pipe.o fifo.o rcar2.o rcar3.o
92f98382dSKuninori Morimoto
10951fe829SKuninori Morimotoifneq ($(CONFIG_USB_RENESAS_USBHS_HCD),)
11951fe829SKuninori Morimoto	renesas_usbhs-y		+= mod_host.o
12951fe829SKuninori Morimotoendif
13951fe829SKuninori Morimoto
14951fe829SKuninori Morimotoifneq ($(CONFIG_USB_RENESAS_USBHS_UDC),)
15951fe829SKuninori Morimoto	renesas_usbhs-y		+= mod_gadget.o
16951fe829SKuninori Morimotoendif
17