xref: /linux/drivers/greybus/Makefile (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
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
21*ec558bbfSAyush Singhobj-$(CONFIG_GREYBUS_BEAGLEPLAY)	+= gb-beagleplay.o
22*ec558bbfSAyush Singh
23b81beec9SGreg Kroah-Hartman# Greybus Host controller drivers
24b81beec9SGreg Kroah-Hartmangb-es2-y := es2.o
25b81beec9SGreg Kroah-Hartman
26b81beec9SGreg Kroah-Hartmanobj-$(CONFIG_GREYBUS_ES2)	+= gb-es2.o
27b81beec9SGreg Kroah-Hartman
28b81beec9SGreg Kroah-Hartman
29