1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_STM) += stm_core.o
4 stm_core-y := core.o policy.o
6 obj-$(CONFIG_STM_PROTO_BASIC) += stm_p_basic.o
7 obj-$(CONFIG_STM_PROTO_SYS_T) += stm_p_sys-t.o
9 stm_p_basic-y := p_basic.o
10 stm_p_sys-t-y := p_sys-t.o
12 obj-$(CONFIG_STM_DUMMY) += dummy_stm.o
14 obj-$(CONFIG_STM_SOURCE_CONSOLE) += stm_console.o
15 obj-$(CONFIG_STM_SOURCE_HEARTBEAT) += stm_heartbeat.o
16 obj-$(CONFIG_STM_SOURCE_FTRACE) += stm_ftrace.o
18 stm_console-y := console.o
19 stm_heartbeat-y := heartbeat.o
20 stm_ftrace-y := ftrace.o