diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-10-11 16:34:39 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-12 21:32:44 +0200 |
commit | 4dfd5b5c621c88ea94d39afd6c3d7395a9dd94fd (patch) | |
tree | fecfe0f0c150783432657f8ae16e2a5aa8ef41ad /common/Kconfig | |
parent | 23e13992c8dd993a69794952fdf4f1c11e3da6e4 (diff) | |
download | barebox-4dfd5b5c621c88ea94d39afd6c3d7395a9dd94fd.tar.gz barebox-4dfd5b5c621c88ea94d39afd6c3d7395a9dd94fd.tar.xz |
defaultenv: introduce CONFIG_DEFAULT_ENVIRONMENT_GENERIC to enable it
this will we usefull to enable functionnality if used
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 123d07086e..fb47397e9f 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -389,6 +389,19 @@ config DEFAULT_ENVIRONMENT Enabling this option will give you a default environment when the environment found in the environment sector is invalid +config DEFAULT_ENVIRONMENT_GENERIC + bool + depends on DEFAULT_ENVIRONMENT + select SHELL_HUSH + prompt "Default environment generic" + help + With this option barebox will use the generic default + environment found under defaultenv/ in the src tree. + The Directory given with DEFAULT_ENVIRONMENT_PATH + will be added to the default environment. This should + at least contain a /env/config file. + This will be able to overwrite the files from defaultenv. + config DEFAULT_ENVIRONMENT_PATH string depends on DEFAULT_ENVIRONMENT |