1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_sources_ifdef(
4  CONFIG_DEBUG_THREAD_INFO
5  thread_info.c
6  )
7
8zephyr_sources_ifdef(
9  CONFIG_ASAN
10  asan_hacks.c
11  )
12
13add_subdirectory_ifdef(
14  CONFIG_THREAD_ANALYZER
15  thread_analyzer
16  )
17
18add_subdirectory_ifdef(
19  CONFIG_DEBUG_COREDUMP
20  coredump
21  )
22
23add_subdirectory_ifdef(
24  CONFIG_GDBSTUB
25  gdbstub
26  )
27
28zephyr_sources_ifdef(
29  CONFIG_MIPI_STP_DECODER
30  mipi_stp_decoder.c
31  )
32
33add_subdirectory_ifdef(
34  CONFIG_SYMTAB
35  symtab
36  )
37
38zephyr_sources_ifdef(
39  CONFIG_CS_TRACE_DEFMT
40  coresight/cs_trace_defmt.c
41)
42
43zephyr_sources_ifdef(
44  CONFIG_CPU_LOAD
45  cpu_load.c
46  )
47