[U-Boot] Makefile: add dependencies to regenerate u-boot.cfg when lost

Tom Rini trini at konsulko.com
Tue Jul 25 00:42:39 UTC 2017


On Wed, Jul 05, 2017 at 05:30:40PM +0200, Philipp Tomsich wrote:

> When running a 'make clean' or carelessly removing u-boot.cfg, all
> future make invocations (until autoconf is regenerated) will print
> an error for a missing u-boot.cfg due to missing rules and dependencies.
> 
> This commit adds (i) an explicit rule dependency from all (which will
> invokes the configuration checker) to cfg, and (b) adds a rule to
> invoke scripts/Makefile.autoconf to regenerate u-boot.cfg.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested-by: Bin Meng <bmeng.cn 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: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/d1b0c04a/attachment.sig>


More information about the U-Boot mailing list