From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 7 Apr 2018 09:25:05 -0400 Subject: [U-Boot] [U-Boot, v2] Allow providing default environment from file In-Reply-To: <20180320103845.2404-1-rasmus.villemoes@prevas.dk> References: <20180320103845.2404-1-rasmus.villemoes@prevas.dk> Message-ID: <20180407132505.GE10996@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Rasmus Villemoes > Reviewed-by: Lukasz Majewski 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: