]> code.ossystems Code Review - openembedded-core.git/commit
u-boot: introduce UBOOT_INITIAL_ENV
authorMing Liu <ming.liu@toradex.com>
Wed, 3 Jun 2020 11:48:38 +0000 (13:48 +0200)
committerSteve Sakoman <steve@sakoman.com>
Fri, 26 Jun 2020 21:53:05 +0000 (11:53 -1000)
commite4d5c99abab58aa813fe2da7c576ae69b9413304
tree81d3b862d1f68746d796d792c4c4aa7a6460be84
parentf42702baee57ab3d1b7ab7833e72c7d56ad4ee94
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: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb7e8b6b88855f3f523b2176ea2c85a330bfe00b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-bsp/u-boot/u-boot.inc