diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index af28810ed4b..c3fd9619270 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -443,7 +443,7 @@ DT_CHOSEN_Z_CPU_LOAD_COUNTER := zephyr,cpu-load-counter config CPU_LOAD_USE_COUNTER bool "Use counter" - depends on $(dt_chosen_enabled,DT_CHOSEN_Z_CPU_LOAD_COUNTER) + depends on $(dt_chosen_enabled,$(DT_CHOSEN_Z_CPU_LOAD_COUNTER)) default y select COUNTER help