zephyr/subsys/debug/CMakeLists.txt
Yong Cong Sin 9d9576b442 subsys/debug: relocate gdbstub stuff into its folder
Move the gdbstub files into the gdbstub folder, and relocated
its Kconfig as well.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-06-04 22:36:51 -04:00

37 lines
484 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(
CONFIG_DEBUG_THREAD_INFO
thread_info.c
)
zephyr_sources_ifdef(
CONFIG_ASAN
asan_hacks.c
)
zephyr_sources_ifdef(
CONFIG_THREAD_ANALYZER
thread_analyzer.c
)
add_subdirectory_ifdef(
CONFIG_DEBUG_COREDUMP
coredump
)
add_subdirectory_ifdef(
CONFIG_GDBSTUB
gdbstub
)
zephyr_sources_ifdef(
CONFIG_MIPI_STP_DECODER
mipi_stp_decoder.c
)
add_subdirectory_ifdef(
CONFIG_SYMTAB
symtab
)