xref: /linux/drivers/greybus/Makefile (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
21obj-$(CONFIG_GREYBUS_BEAGLEPLAY)	+= gb-beagleplay.o
22
23# Greybus Host controller drivers
24gb-es2-y := es2.o
25
26obj-$(CONFIG_GREYBUS_ES2)	+= gb-es2.o
27
28
29