[PATCH 2/3] menu: depend on !CONFIG_SHELL_NONE

Lucas Stach dev at lynxeye.de
Sun Mar 1 13:06:36 PST 2015


It doesn't make much sense to have the menuframework but no
shell.

Fixes:
In function `menu_action_command': undefined reference to `run_command'

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 common/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/Kconfig b/common/Kconfig
index d4373431aae8..cf197076dbab 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -414,6 +414,7 @@ config AUTO_COMPLETE
 config MENU
 	bool
 	prompt "Menu Framework"
+	depends on !SHELL_NONE
 	select PROCESS_ESCAPE_SEQUENCE
 	help
 	  a menu framework that allow us to create list menu to simplify
-- 
2.1.0




More information about the barebox mailing list