]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: add dependencies to regenerate u-boot.cfg when lost
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 5 Jul 2017 15:30:40 +0000 (17:30 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 22 Jul 2017 19:36:19 +0000 (15:36 -0400)
commit0d982c5853304ca366de3d3fbb24a2fba410fa6e
tree48ba211f6fdeff5da2891b2046fdce59c03e6932
parent47a52cd1e4c2b1e5f205e337bf3e1ae83993b5a4
Makefile: add dependencies to regenerate u-boot.cfg when lost

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@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Makefile