summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig11
1 files changed, 10 insertions, 1 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index a443501f33..f192d30978 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1,7 +1,14 @@
config REGINFO
bool
-menu "Commands "
+config COMMAND_SUPPORT
+ bool
+ depends on !SHELL_NONE
+ default y
+
+if COMMAND_SUPPORT
+
+menu "commands "
menu "scripting "
@@ -404,3 +411,5 @@ config CMD_USB
The usb command allows to rescan for USB devices.
endmenu
+
+endif