kbuild: Add objtool to top-level clean target
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 10 Feb 2026 21:45:22 +0000 (13:45 -0800)
committerNathan Chancellor <nathan@kernel.org>
Thu, 12 Feb 2026 16:30:20 +0000 (11:30 -0500)
commit68b4fe32d73789dea23e356f468de67c8367ef8f
tree092684f07829e03a7a0c73bbe060a9e479e57c57
parentdf989b01b5f97dae8f9869cfacbda1308f2182c1
kbuild: Add objtool to top-level clean target

Objtool is an integral part of the build, make sure it gets cleaned by
"make clean" and "make mrproper".

Fixes: 442f04c34a1a ("objtool: Add tool to perform compile-time stack metadata validation")
Reported-by: Jens Remus <jremus@linux.ibm.com>
Closes: https://lore.kernel.org/15f2af3b-be33-46fc-b972-6b8e7e0aa52e@linux.ibm.com
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Tested-by: Jens Remus <jremus@linux.ibm.com>
Link: https://patch.msgid.link/968faf2ed30fa8b3519f79f01a1ecfe7929553e5.1770759919.git.jpoimboe@kernel.org
[nathan: use Closes: instead of Link: per checkpatch.pl]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Makefile
tools/objtool/Makefile