]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Makefile: use if_change_dep for u-boot.cfg
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Sep 2016 18:20:25 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 22 Sep 2016 15:34:59 +0000 (11:34 -0400)
commitfcd29a4d0e2ae3adbb129cf8e39eb025dc55e549
treefb5a52c0580579c5be94d83bc2af22c941468ca9
parentde4be9ec171c1eb8aa5dbcaef8ee515ed0109ebe
Makefile: use if_change_dep for u-boot.cfg

cmd_cpp_cfg generates a dependency output, but because it's invoked using
if_changed rather than if_changed_dep, that dependency file is ignored.
This results in Kbuild not knowing about which files u-boot.cfg depends
on, so it may not be rebuilt when required.

A practical result of this is that u-boot.cfg may continue to reference
CONFIG_ options that no longer exist in the source tree, and this can
cause the adhoc config options check to fail.

This change modifies Makefile to use if_changed_dep, which in turn causes
all dependencies to be known to the next make invocation.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Makefile
scripts/Makefile.spl