mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] common Kconfig: Add missing depends on
Date: Tue, 26 Nov 2013 17:15:58 +0100	[thread overview]
Message-ID: <1385482559-6068-1-git-send-email-s.hauer@pengutronix.de> (raw)

CONFIG_MAXARGS is only used with the simple console support, so add
a 'depends on'. While at it, move it below the shell selection.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 common/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/common/Kconfig b/common/Kconfig
index ccfbc80..f47602e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -292,11 +292,6 @@ config CBSIZE
 	prompt "Buffer size for input from the Console"
 	default 1024
 
-config MAXARGS
-	int
-	prompt "max. Number of arguments accepted for monitor commands"
-	default 16
-
 choice
 	prompt "Select your shell"
 
@@ -328,6 +323,12 @@ choice
 		  at the end of the barebox startup process.
 endchoice
 
+config MAXARGS
+	int
+	depends on SHELL_SIMPLE
+	prompt "max. Number of arguments accepted for monitor commands"
+	default 16
+
 config GLOB
 	bool
 	prompt "hush globbing support"
-- 
1.8.4.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-11-26 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 16:15 Sascha Hauer [this message]
2013-11-26 16:15 ` [PATCH 2/2] common Kconfig: disable unused options for SHELL_NONE Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385482559-6068-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox