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