shell: Fix Kconfig dependencies

PR #84651 introduced new shell commands that don't compile if
CONFIG_THREAD_MONITOR=n

Add THREAD_MONITOR to new shell commands.

Signed-off-by: Jeremy Bettis <jbettis@google.com>
This commit is contained in:
Jeremy Bettis 2025-02-04 10:52:49 -07:00 committed by Benjamin Cabé
parent 5e235bbf88
commit e1cfd098a2

View File

@ -5,6 +5,7 @@
config KERNEL_THREAD_SHELL
bool
depends on THREAD_MONITOR
help
Internal helper macro to determine if the main `thread` command
should be compiled.
@ -56,6 +57,7 @@ config KERNEL_THREAD_SHELL_UNWIND
config KERNEL_THREAD_SHELL_SUSPEND
bool
default y
depends on THREAD_MONITOR
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the 'suspend' subcommand
@ -63,6 +65,7 @@ config KERNEL_THREAD_SHELL_SUSPEND
config KERNEL_THREAD_SHELL_RESUME
bool
default y
depends on THREAD_MONITOR
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the 'resume' subcommand
@ -70,6 +73,7 @@ config KERNEL_THREAD_SHELL_RESUME
config KERNEL_THREAD_SHELL_KILL
bool
default y
depends on THREAD_MONITOR
select KERNEL_THREAD_SHELL
help
Internal helper macro to compile the 'kill' subcommad