9
0
Fork 0

stddev: make it selectable via Kconfig

enable is by default for simple and hush
we do not need to NO_SHELL

this allow to save 1KiB

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-07-25 10:02:43 +02:00 committed by Sascha Hauer
parent 7b0de0e6fa
commit d6a50c915f
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
obj-y += stddev.o
obj-$(CONFIG_STDDEV) += stddev.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-$(CONFIG_CMD_UIMAGE) += uimage.o
obj-$(CONFIG_CMD_LINUX16) += linux16.o

View File

@ -50,6 +50,9 @@ config BINFMT
config GLOBALVAR
bool
config STDDEV
bool
menu "General Settings "
config LOCALVERSION
@ -283,6 +286,7 @@ choice
select COMMAND_SUPPORT
select PARAMETER
select BINFMT
select STDDEV
help
Enable hush support. This is the most advanced shell available
for barebox.
@ -292,6 +296,7 @@ choice
select ENVIRONMENT_VARIABLES
select COMMAND_SUPPORT
select PARAMETER
select STDDEV
help
simple shell. No if/then, no return values from commands, no loops