diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2021-10-15 10:30:05 -0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-11-01 20:18:55 +0100 |
commit | 6b8b5e7248fd8562e8cdd5ef6f3d52f51418fc3b (patch) | |
tree | b00eec46a4302655b4b655e978db0ba587578303 /include/package-bin.mk | |
parent | 8cf4d4df5560f6771f74c3124870e8a23094aff3 (diff) | |
download | upstream-6b8b5e7248fd8562e8cdd5ef6f3d52f51418fc3b.tar.gz upstream-6b8b5e7248fd8562e8cdd5ef6f3d52f51418fc3b.tar.bz2 upstream-6b8b5e7248fd8562e8cdd5ef6f3d52f51418fc3b.zip |
build: kernel: avoid unnecessary package rebuilds
The $(LINUX_DIR)/.config timesptamp changes between runs of
make target/compile and make target/install (which builds the image).
Kernel-dependent packages and out of tree modules are built in between
those runs, and they check the .config timestamp to decide if they need
to be rebuilt.
Save the target/compile .config to use its timestamp if the file does
not change between runs. That way the subsequent kernel packages are
not unnecessarily rebuilt when you run 'make' back to back.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'include/package-bin.mk')
0 files changed, 0 insertions, 0 deletions