diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-22 09:18:33 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-05-22 09:28:16 +0200 |
commit | ff8bde52961d60afb30a113c9ca755e6b1c7cbe6 (patch) | |
tree | 3af1d796caf567cb9d3c98881d77764d2e4b64d8 /package/network | |
parent | 8948a78862abd975422d742152408249de6eadcf (diff) | |
download | upstream-ff8bde52961d60afb30a113c9ca755e6b1c7cbe6.tar.gz upstream-ff8bde52961d60afb30a113c9ca755e6b1c7cbe6.tar.bz2 upstream-ff8bde52961d60afb30a113c9ca755e6b1c7cbe6.zip |
build: prevent spurious package rebuilds under CONFIG_AUTOREMOVE
When CONFIG_AUTOREMOVE is enabled, the build system touches an additional
".autoremove" stamp file in the cleaned build directory.
Since the autoremove stamp file is touched after the compile process
completed, it ends up being the most recent file of the package build
directory, causing the timestamp.pl check of depends.mk to erroneously
declare the ".built" and ".prepared" stamp files as stale, triggering
a forced clean-build submake process.
Fix the problem by using the ".built" stamp file as modification time
reference when touching the ".autoremove" stamp file.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b287c82bed6673648a69be6c1cf84abe8885a3c4)
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions