[PATCH 4/5] allno: make simple shell the default

Robert Schwebel r.schwebel at pengutronix.de
Mon Nov 1 04:26:18 EDT 2010


Reorder the shells in Kconfig, in order to make the simple shell the
default over hush. For the sandbox_defconfig this makes the image
smaller:

before:
-rwxr-xr-x 1 rsc ptx 60747 Oct 29 09:19 barebox

after:
-rwxr-xr-x 1 rsc ptx 53275 Oct 29 09:18 barebox

Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
---
 common/Kconfig |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/common/Kconfig b/common/Kconfig
index ad70cde..54a40e9 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -214,16 +214,16 @@ config MAXARGS
 choice
 	prompt "Select your shell"
 
+	config SHELL_SIMPLE
+		bool "Simple parser"
+		help
+		  simple shell. No if/then, no return values from commands, no loops
+
 	config SHELL_HUSH
 		bool "hush parser"
 		help
 		  Enable hush support. This is the most advanced shell available
 		  for barebox.
-
-	config SHELL_SIMPLE
-		bool "Simple parser"
-		help
-		  simple shell. No if/then, no return values from commands, no loops
 endchoice
 
 config GLOB
-- 
1.7.2.3




More information about the barebox mailing list