xref: /openbmc/linux/drivers/greybus/Makefile (revision b81beec9)
18465def4SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
28465def4SGreg Kroah-Hartman# Greybus core
38465def4SGreg Kroah-Hartmangreybus-y :=	core.o		\
48465def4SGreg Kroah-Hartman		debugfs.o	\
58465def4SGreg Kroah-Hartman		hd.o		\
68465def4SGreg Kroah-Hartman		manifest.o	\
78465def4SGreg Kroah-Hartman		module.o	\
88465def4SGreg Kroah-Hartman		interface.o	\
98465def4SGreg Kroah-Hartman		bundle.o	\
108465def4SGreg Kroah-Hartman		connection.o	\
118465def4SGreg Kroah-Hartman		control.o	\
128465def4SGreg Kroah-Hartman		svc.o		\
138465def4SGreg Kroah-Hartman		svc_watchdog.o	\
148465def4SGreg Kroah-Hartman		operation.o
158465def4SGreg Kroah-Hartman
168465def4SGreg Kroah-Hartmanobj-$(CONFIG_GREYBUS)		+= greybus.o
178465def4SGreg Kroah-Hartman
188465def4SGreg Kroah-Hartman# needed for trace events
198465def4SGreg Kroah-Hartmanccflags-y += -I$(src)
20b81beec9SGreg Kroah-Hartman
21b81beec9SGreg Kroah-Hartman# Greybus Host controller drivers
22b81beec9SGreg Kroah-Hartmangb-es2-y := es2.o
23b81beec9SGreg Kroah-Hartman
24b81beec9SGreg Kroah-Hartmanobj-$(CONFIG_GREYBUS_ES2)	+= gb-es2.o
25b81beec9SGreg Kroah-Hartman
26b81beec9SGreg Kroah-Hartman
27