uboot/scripts
Stephen Warren a6c1309782 Makefile: rm u-boot.cfg dependencies are missing
Prior to the previous patch, a freshly created .u-boot.cfg.cmd may not
correctly represent all dependencies for u-boot.cfg. The previous change
only solved this issue for fresh builds; when performing an incremental
build, the deficient .u-boot.cfg.cmd is already present, so u-boot.cfg
is not rebuilt, and hence .u-boot.cfg.cmd is not rebuilt with the correct
content.

Solve this by explicitly detecting when the dependency file .u-boot.cfg.d
has not been integrated into .u-boot.cfg.cmd, and force u-boot.cfg to be
rebuilt in this case by deleting it first. This is possible since
if_changed_dep will always delete .u-boot.cfg.d when it executes
successfully, so its presence means either that the previous build was
made by a source tree that contained a Makefile that didn't include the
previous patch, or that the build failed part way through executing
if_changed_dep for u-boot.cfg. Forcing a rebuild of u-boot.cfg is required
in the former case, and will cause no additional work in the latter case,
since the file would be rebuilt anyway for the same reason it was being
rebuilt by the previous build.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2016-09-22 11:34:59 -04:00
..
basic kbuild: fixdep: Check fstat(2) return value 2016-05-23 11:50:21 -04:00
coccinelle/net scripts: Add a cocci patch for miiphy_register 2016-08-15 15:26:23 -05:00
kconfig Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
.gitignore
Kbuild.include kbuild: Add clang detection 2016-01-25 10:39:44 -05:00
Lindent
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
Makefile.autoconf scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.build scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.clean scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.extrawarn scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.host dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
Makefile.lib scripts: Makefile.lib: Sanitize DTB names 2016-08-20 11:34:59 -04:00
Makefile.spl Makefile: rm u-boot.cfg dependencies are missing 2016-09-22 11:34:59 -04:00
Makefile.uncmd_spl scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
binutils-version.sh
build-whitelist.sh Kconfig: Add a whitelist of ad-hoc CONFIG options 2016-09-16 17:27:24 -04:00
check-config.sh Makefile: Give a build error if ad-hoc CONFIG options are added 2016-09-16 17:27:24 -04:00
checkpatch.pl checkpatch: fix left brace warning 2016-01-04 12:25:29 -05:00
checkstack.pl
cleanpatch
config_whitelist.txt PowerPC: Update last users of CONFIG_ISO_STRING to Kconfig 2016-09-20 09:30:26 -04:00
coreboot.sed x86: Add a script to aid code conversion from coreboot 2016-03-17 10:27:23 +08:00
docproc.c
dtc-version.sh
fill_scrapyard.py
gcc-stack-usage.sh
gcc-version.sh
get_maintainer.pl get_maintainer: fix perl 5.22/5.24 deprecated/incompatible "\C" use 2016-01-08 10:15:47 -05:00
kernel-doc
ld-version.sh
mailmapper
mkmakefile
objdiff
setlocalversion
show-gnu-make