Re: [PATCH v2 0/3] kbuild: reduce single-build dependencies

From: Nicolas Schier

Date: Wed Nov 25 2026 - 10:01:53 EST


On Fri, 13 Nov 2026 18:57:04 +0100, Vincent Mailhol wrote:
> kbuild: reduce single-build dependencies
>
> Building a single .o file depends on the prepare target which contains a
> lot of dependencies. Some of those preparation dependencies are not
> needed for a single .o build.
>
> This is a small annoyance because a modification of the compilation
> flags causes several prepare dependencies to rebuild. Consequently,
> single-build incurs an artificial penalty.
>
> [...]

Applied to kbuild/linux.git (kbuild-next-unstable), thanks!

[1/3] kbuild: make rq-offsets-file an explicit preparation dependency
https://git.kernel.org/kbuild/c/7e9b69c5
[2/3] kbuild: move preparation checks out of single-build
https://git.kernel.org/kbuild/c/b9d3d3d8
[3/3] kbuild: move scripts/mod target out of single-build
https://git.kernel.org/kbuild/c/1b9279a5

Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped,
reverted or modified (e.g. trailers).

Patches applied to the kbuild-next-unstable branch are accepted pending
wider testing in linux-next and any post-commit review; they will
generally be moved to the kbuild-next branch in about a week if no
issues are found.

Best regards,
--
Nicolas