[PATCH v2] Makefile: Force regeneration of env.txt

Tom Rini trini at konsulko.com
Tue Oct 10 14:58:05 CEST 2023


On Fri, Sep 15, 2023 at 09:43:23AM -0500, Andrew Davis wrote:

> If the source .env file changes to one that is also older than the
> generated env.txt file then the .env file is not regenerated. This
> means when switching board configs we do not regenerate the env.
> 
> This can be tested with:
> 
> $ make j721e_evm_a72_defconfig
> $ make # this may fail to complete but that is okay for this test
> $ make am64x_evm_a53_defconfig
> $ make
> $ vim include/generated/env.txt
> 
> Note this is still the J721e env not the AM64 config as expected.
> 
> As ENV_FILE is set based on configuration, regenerate anytime
> autoconf.h changes.
> 
> Signed-off-by: Andrew Davis <afd at ti.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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/20231010/3974d270/attachment.sig>


More information about the U-Boot mailing list