CMakeLists.txt 642 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # SPDX-License-Identifier: Apache-2.0
  2. if(CONFIG_OPENOCD_SUPPORT)
  3. message(WARNING "CONFIG_OPENOCD_SUPPORT is deprecated
  4. Please use DEBUG_THREAD_INFO instead."
  5. )
  6. endif()
  7. zephyr_sources_ifdef(
  8. CONFIG_DEBUG_THREAD_INFO
  9. thread_info.c
  10. )
  11. zephyr_sources_ifdef(
  12. CONFIG_ASAN
  13. asan_hacks.c
  14. )
  15. zephyr_sources_ifdef(
  16. CONFIG_THREAD_ANALYZER
  17. thread_analyzer.c
  18. )
  19. add_subdirectory_ifdef(
  20. CONFIG_DEBUG_COREDUMP
  21. coredump
  22. )
  23. zephyr_sources_ifdef(
  24. CONFIG_GDBSTUB
  25. gdbstub.c
  26. )
  27. zephyr_sources_ifdef(
  28. CONFIG_GDBSTUB_SERIAL_BACKEND
  29. gdbstub/gdbstub_backend_serial.c
  30. )
  31. zephyr_sources_ifdef(
  32. CONFIG_MAGIC_SYSRQ
  33. sysrq.c
  34. )