diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-01 15:06:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-11 15:57:51 +0200 |
commit | 71a4899e18295995e0ea13438b4efe9b8ac16d5a (patch) | |
tree | f6a35e0c8431a2ed927baf53c1a83f0734cd56a6 /commands/Kconfig | |
parent | 64cc568eda4c72d5e1fc05b5fc3a3792a8f7c22e (diff) | |
download | barebox-71a4899e18295995e0ea13438b4efe9b8ac16d5a.tar.gz barebox-71a4899e18295995e0ea13438b4efe9b8ac16d5a.tar.xz |
env: Make environment variable support optional
Environment variables are only useful in interactive environments.
Make it optional on our way to support a noninteractive barebox.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 9d0c72d83f..a443501f33 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -29,11 +29,13 @@ config CMD_LOADENV prompt "loadenv" config CMD_EXPORT + depends on ENVIRONMENT_VARIABLES tristate prompt "export" config CMD_PRINTENV tristate + depends on ENVIRONMENT_VARIABLES prompt "printenv" config CMD_READLINE |