From 8c1c97736cbb4a2ec657c6910e8986fa7ffcc907 Mon Sep 17 00:00:00 2001 From: Adrian Warecki Date: Wed, 1 Oct 2025 13:21:35 +0200 Subject: [PATCH] module: tester: Ensure tester module is only built when explicitly selected Prevent the tester module from being built into the image unless explicitly configured, especially when it's configured as a loadable module and llext support is disabled. Signed-off-by: Adrian Warecki --- src/debug/tester/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/tester/CMakeLists.txt b/src/debug/tester/CMakeLists.txt index e207a0547f6d..85bf026b5ed3 100644 --- a/src/debug/tester/CMakeLists.txt +++ b/src/debug/tester/CMakeLists.txt @@ -14,7 +14,7 @@ if(zephyr) ### Zephyr ### add_subdirectory(llext ${PROJECT_BINARY_DIR}/tester_llext) add_dependencies(app tester) - elseif(CONFIG_COMP_TESTER) + elseif(CONFIG_COMP_TESTER STREQUAL "y") zephyr_library_sources(${base_files})