[PATCH] env: Avoid using a leftover text-environment file

Tom Rini trini at konsulko.com
Fri Apr 1 03:19:06 CEST 2022


On Fri, Mar 11, 2022 at 10:37:23PM -0700, Simon Glass wrote:

> If include/generated/environment.h exists (perhaps leftover from a build
> of another board) it is used, even if the board currently being built does
> not have a text environment.
> 
> This causes a build error. Fix it by emptying the file if it should not be
> there.
> 
> Fixes: https://source.denx.de/u-boot/u-boot/-/issues/9
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reported-by: Sean Anderson <seanga2 at gmail.com>
> Tested-by: Sean Anderson <seanga2 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220331/76d74b06/attachment.sig>


More information about the U-Boot mailing list