xref: /openbmc/linux/drivers/hwtracing/stm/Makefile (revision a02509f3)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
27bd1d409SAlexander Shishkinobj-$(CONFIG_STM)	+= stm_core.o
37bd1d409SAlexander Shishkin
47bd1d409SAlexander Shishkinstm_core-y		:= core.o policy.o
52c415381SAlexander Shishkin
6a02509f3SAlexander Shishkinobj-$(CONFIG_STM_PROTO_BASIC) += stm_p_basic.o
7a02509f3SAlexander Shishkin
8a02509f3SAlexander Shishkinstm_p_basic-y		:= p_basic.o
9a02509f3SAlexander Shishkin
102c415381SAlexander Shishkinobj-$(CONFIG_STM_DUMMY)	+= dummy_stm.o
11e3e5a3d3SAlexander Shishkin
12e3e5a3d3SAlexander Shishkinobj-$(CONFIG_STM_SOURCE_CONSOLE)	+= stm_console.o
1311929185SAlexander Shishkinobj-$(CONFIG_STM_SOURCE_HEARTBEAT)	+= stm_heartbeat.o
14262e1f6eSChunyan Zhangobj-$(CONFIG_STM_SOURCE_FTRACE)		+= stm_ftrace.o
15e3e5a3d3SAlexander Shishkin
16e3e5a3d3SAlexander Shishkinstm_console-y		:= console.o
1711929185SAlexander Shishkinstm_heartbeat-y		:= heartbeat.o
18262e1f6eSChunyan Zhangstm_ftrace-y		:= ftrace.o
19