]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools build: Fix fixdep dependencies
authorJosh Poimboeuf <jpoimboe@kernel.org>
Mon, 3 Mar 2025 01:01:42 +0000 (17:01 -0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:45:20 +0000 (14:45 -0700)
commita808a2b35f66658e6c49dc98b55a33fa1079fe72
tree1b7f33d819db838c5c1053655a4bcfa6643015b3
parent2e985fdb7e54293695a2a386e06e59d441efbe0f
tools build: Fix fixdep dependencies

The tools version of fixdep has broken dependencies.  It doesn't get
rebuilt if the host compiler or headers change.

Build fixdep with the tools kbuild infrastructure, so fixdep runs on
itself.  Due to the recursive dependency, its dependency file is
incomplete the very first time it gets built.  In that case build it a
second time to achieve fixdep inception.

Reported-by: Arthur Marsh <arthur.marsh@internode.on.net>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/build/Build [new file with mode: 0644]
tools/build/Makefile