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

Bin Meng bmeng.cn at gmail.com
Fri Jul 7 06:08:21 UTC 2017


On Fri, Jul 7, 2017 at 11:59 AM, Simon Glass <sjg at chromium.org> wrote:
> On 5 July 2017 at 09:30, Philipp Tomsich
> <philipp.tomsich at theobroma-systems.com> 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
>
> (a) ?
>
>> 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>
>> ---
>>
>>  Makefile | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> That's a strange bug!
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>

Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list