defaultenv: enable glovalvar support
This will allow to do not have 2 set of var for defaultenv and the new defaultenv-2. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
9b22271b7b
commit
4676721b30
|
@ -575,6 +575,7 @@ config DEFAULT_ENVIRONMENT_GENERIC
|
||||||
select CMD_CRC
|
select CMD_CRC
|
||||||
select CMD_CRC_CMP
|
select CMD_CRC_CMP
|
||||||
select CMD_AUTOMOUNT if HAVE_DEFAULT_ENVIRONMENT_NEW
|
select CMD_AUTOMOUNT if HAVE_DEFAULT_ENVIRONMENT_NEW
|
||||||
|
select CMD_GLOBAL
|
||||||
prompt "Default environment generic"
|
prompt "Default environment generic"
|
||||||
help
|
help
|
||||||
With this option barebox will use the generic default
|
With this option barebox will use the generic default
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
PATH=/env/bin
|
PATH=/env/bin
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
|
global hostname
|
||||||
|
|
||||||
. /env/config
|
. /env/config
|
||||||
if [ -e /dev/nor0 -a -n "$nor_parts" ]; then
|
if [ -e /dev/nor0 -a -n "$nor_parts" ]; then
|
||||||
addpart /dev/nor0 $nor_parts
|
addpart /dev/nor0 $nor_parts
|
||||||
|
|
Loading…
Reference in New Issue