Skip to content

Commit e1cfd09

Browse files
jeremybettiskartben
authored andcommitted
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 <[email protected]>
1 parent 5e235bb commit e1cfd09

File tree

1 file changed

+4
-0
lines changed
  • subsys/shell/modules/kernel_service/thread

1 file changed

+4
-0
lines changed

subsys/shell/modules/kernel_service/thread/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
config KERNEL_THREAD_SHELL
77
bool
8+
depends on THREAD_MONITOR
89
help
910
Internal helper macro to determine if the main `thread` command
1011
should be compiled.
@@ -56,20 +57,23 @@ config KERNEL_THREAD_SHELL_UNWIND
5657
config KERNEL_THREAD_SHELL_SUSPEND
5758
bool
5859
default y
60+
depends on THREAD_MONITOR
5961
select KERNEL_THREAD_SHELL
6062
help
6163
Internal helper macro to compile the 'suspend' subcommand
6264

6365
config KERNEL_THREAD_SHELL_RESUME
6466
bool
6567
default y
68+
depends on THREAD_MONITOR
6669
select KERNEL_THREAD_SHELL
6770
help
6871
Internal helper macro to compile the 'resume' subcommand
6972

7073
config KERNEL_THREAD_SHELL_KILL
7174
bool
7275
default y
76+
depends on THREAD_MONITOR
7377
select KERNEL_THREAD_SHELL
7478
help
7579
Internal helper macro to compile the 'kill' subcommad

0 commit comments

Comments
 (0)