Skip to content
Commit e4d5c99a authored by Ming Liu's avatar Ming Liu Committed by Steve Sakoman
Browse files

u-boot: introduce UBOOT_INITIAL_ENV



It defaults to ${PN}-initial-env, no functional changes with current
implementation, but this allows it to be changed in individual u-boot
recipes.

If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".

The major purpose for introducing this, is that the users might have
some scripts on targets like:
```
/sbin/fw_setenv -f /etc/u-boot-initial-env
```

and it should be able to run against a identical path generated by
different u-boot recipes.

Signed-off-by: default avatarMing Liu <ming.liu@toradex.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb7e8b6b)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent f42702ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment