xref: /openbmc/linux/drivers/hwtracing/stm/Makefile (revision d69d5e83)
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
7d69d5e83SAlexander Shishkinobj-$(CONFIG_STM_PROTO_SYS_T) += stm_p_sys-t.o
8a02509f3SAlexander Shishkin
9a02509f3SAlexander Shishkinstm_p_basic-y		:= p_basic.o
10d69d5e83SAlexander Shishkinstm_p_sys-t-y		:= p_sys-t.o
11a02509f3SAlexander Shishkin
122c415381SAlexander Shishkinobj-$(CONFIG_STM_DUMMY)	+= dummy_stm.o
13e3e5a3d3SAlexander Shishkin
14e3e5a3d3SAlexander Shishkinobj-$(CONFIG_STM_SOURCE_CONSOLE)	+= stm_console.o
1511929185SAlexander Shishkinobj-$(CONFIG_STM_SOURCE_HEARTBEAT)	+= stm_heartbeat.o
16262e1f6eSChunyan Zhangobj-$(CONFIG_STM_SOURCE_FTRACE)		+= stm_ftrace.o
17e3e5a3d3SAlexander Shishkin
18e3e5a3d3SAlexander Shishkinstm_console-y		:= console.o
1911929185SAlexander Shishkinstm_heartbeat-y		:= heartbeat.o
20262e1f6eSChunyan Zhangstm_ftrace-y		:= ftrace.o
21