summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-27 08:44:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-28 16:43:15 +0200
commit5c32248bec360005b8a1b6cf0a967da08d3cf34e (patch)
treec16266c2f0dcfbf3a34b97f22e5e397b0cf918c4 /common/Kconfig
parent469950f3dbf8358a17965c8168e4f0d8dd29fec9 (diff)
downloadbarebox-5c32248bec360005b8a1b6cf0a967da08d3cf34e.tar.gz
barebox-5c32248bec360005b8a1b6cf0a967da08d3cf34e.tar.xz
Kconfig: Make GLOBALVAR visible
Currently global environment variables are only enabled when the "global" command is enabled. In fact, they could be used even with the "global" command disabled, so make the GLOBALVAR option visible. While at it, add a help text for this option. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig12
1 files changed, 9 insertions, 3 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 309d264f4a..949c9960b5 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -78,9 +78,6 @@ config FITIMAGE_SIGNATURE
config LOGBUF
bool
-config GLOBALVAR
- bool
-
config STDDEV
bool
@@ -159,6 +156,15 @@ config MEMINFO
config ENVIRONMENT_VARIABLES
bool "environment variables support"
+config GLOBALVAR
+ bool "global environment variables support"
+ default y if !SHELL_NONE
+ help
+ Global environment variables begin with "global.". Unlike normal
+ shell variables they have the same values in all contexts. Global
+ variables are used to control several aspects of the system behaviour.
+ If unsure, say yes here.
+
menu "memory layout"
source "pbl/Kconfig"