[U-Boot] [U-Boot, v2] Allow providing default environment from file

Tom Rini trini at konsulko.com
Sat Apr 7 13:25:05 UTC 2018


On Tue, Mar 20, 2018 at 11:38:45AM +0100, Rasmus Villemoes wrote:

> Modifying the default environment via CONFIG_EXTRA_ENV_SETTINGS is
> somewhat inflexible, partly because the cpp language does not allow
> appending to an existing macro. This prevents reuse of "environment
> fragments" for different boards, which in turn makes maintaining that
> environment consistently tedious and error-prone.
> 
> This implements a Kconfig option for allowing one to define the entire
> default environment in an external file, which can then, for example, be
> generated programmatically as part of a Yocto recipe, or simply be kept
> in version control separately from the U-boot repository.
> 
> Tested-by: Sean Nyekjaer <sean.nyekjaer at prevas.dk>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> Reviewed-by: Lukasz Majewski <lukma at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180407/e094974c/attachment.sig>


More information about the U-Boot mailing list