summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-07-01 10:08:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-02 07:26:55 +0200
commit477199c68429b61b9471c4ed7dcadb406b5888f6 (patch)
treea923f02c892c4c459e96dd5f3a798fa560983ff0 /common
parentd1360672e8ff19b6ea56f5a874b7db9c555bb369 (diff)
downloadbarebox-477199c68429b61b9471c4ed7dcadb406b5888f6.tar.gz
barebox-477199c68429b61b9471c4ed7dcadb406b5888f6.tar.xz
menutree: let it select GLOB and GLOB_SORT
The menutree doesn't select CONFIG_GLOB, but it depends on it. Without it will just hang. So let it select it automatically. Also remove the dependency of CONFIG_GLOB on CONFIG_HUSH, because glob() will run with the simple shell as well. Also let CONFIG_MENUTREE select on CONFIG_GLOB_SORT. While is not strictly needed, many people use menu/00-foo menu/10-bar menu/20-barf to sort their menu entries. So select it out of convenience. Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 1afee9302a..bba7f159c1 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -61,6 +61,8 @@ config BAREBOX_UPDATE
config MENUTREE
bool
+ select GLOB
+ select GLOB_SORT
menu "General Settings"
@@ -338,11 +340,13 @@ config MAXARGS
config GLOB
bool
- prompt "hush globbing support"
- depends on SHELL_HUSH
+ prompt "globbing support"
help
If you want to use wildcards like * or ? say y here.
+ Globbing can be used in the HUSH shell, but is also used
+ internally in the menutree command.
+
config GLOB_SORT
select QSORT
bool