From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1t0d-0005W1-VI for barebox@lists.infradead.org; Tue, 01 Jul 2014 08:01:48 +0000 Received: by mail-we0-f172.google.com with SMTP id u57so9289791wes.31 for ; Tue, 01 Jul 2014 01:01:25 -0700 (PDT) From: Holger Schurig Date: Tue, 1 Jul 2014 10:08:06 +0200 Message-Id: <1404202086-1775-1-git-send-email-holgerschurig@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2] menutree: let it select GLOB and GLOB_SORT To: barebox@lists.infradead.org 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 --- v2: just changed the commit text common/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index 1afee93..bba7f15 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 -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox