xref: /openbmc/linux/drivers/usb/fotg210/Makefile (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
11dd33a9fSLinus Walleij# SPDX-License-Identifier: GPL-2.0
2*aeffd2c3SLinus Walleij
3*aeffd2c3SLinus Walleij# This setup links the different object files into one single
4*aeffd2c3SLinus Walleij# module so we don't have to EXPORT() a lot of internal symbols
5*aeffd2c3SLinus Walleij# or create unnecessary submodules.
6*aeffd2c3SLinus Walleijfotg210-objs-y				+= fotg210-core.o
7*aeffd2c3SLinus Walleijfotg210-objs-$(CONFIG_USB_FOTG210_HCD)	+= fotg210-hcd.o
8*aeffd2c3SLinus Walleijfotg210-objs-$(CONFIG_USB_FOTG210_UDC)	+= fotg210-udc.o
9*aeffd2c3SLinus Walleijfotg210-objs				:= $(fotg210-objs-y)
10*aeffd2c3SLinus Walleijobj-$(CONFIG_USB_FOTG210)		+= fotg210.o
11