xref: /openbmc/linux/drivers/greybus/Makefile (revision 6b342707)
1# SPDX-License-Identifier: GPL-2.0
2# Greybus core
3greybus-y :=	core.o		\
4		debugfs.o	\
5		hd.o		\
6		manifest.o	\
7		module.o	\
8		interface.o	\
9		bundle.o	\
10		connection.o	\
11		control.o	\
12		svc.o		\
13		svc_watchdog.o	\
14		operation.o
15
16obj-$(CONFIG_GREYBUS)		+= greybus.o
17
18# needed for trace events
19ccflags-y += -I$(src)
20
21# Greybus Host controller drivers
22gb-es2-y := es2.o
23
24obj-$(CONFIG_GREYBUS_ES2)	+= gb-es2.o
25
26
27