summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-27 09:04:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-28 16:43:15 +0200
commit9a7b5d4cdc975f15344c207f9972b2a25b874daf (patch)
tree8e8893bae2ba96403c88eb1ef43e24898b9d104a /commands
parent5c32248bec360005b8a1b6cf0a967da08d3cf34e (diff)
downloadbarebox-9a7b5d4cdc975f15344c207f9972b2a25b874daf.tar.gz
barebox-9a7b5d4cdc975f15344c207f9972b2a25b874daf.tar.xz
Kconfig: Make ENV_HANDLING visible
ENV_HANDLING is usable even without explicit loadenv/saveenv command support. Instead of selecting this option from loadenv/saveenv, make this option visible. loadenv/saveenv can then depend on ENV_HANDLING rather than selecting it. This reduces Kconfig dependencies hassles. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 39a2df535f..56b95425c0 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -761,7 +761,7 @@ config CMD_GLOBAL
config CMD_LOADENV
tristate
- select ENV_HANDLING
+ depends on ENV_HANDLING
prompt "loadenv"
help
Load environment from ENVFS
@@ -805,7 +805,7 @@ config CMD_MAGICVAR_HELP
config CMD_SAVEENV
tristate
- select ENV_HANDLING
+ depends on ENV_HANDLING
prompt "saveenv"
help
Save environment to persistent storage