]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: reduce output spam when building out of tree
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 5 Mar 2026 12:04:07 +0000 (13:04 +0100)
committerNicolas Schier <nsc@kernel.org>
Wed, 18 Mar 2026 19:59:00 +0000 (20:59 +0100)
commitc9bb03ac2c66bc5aa81b51ea0792477524c2763a
treed995d467609144223c010adbf184a07ab4967ab2
parentdc3b90751d6ffa8865e09a81645a539b9de6d642
kbuild: reduce output spam when building out of tree

The execution of $(call cmd,makefile) will print 'GEN Makefile' on each
build, even if the Makefile is not effectively changed.

Use a filechk command instead, so a message is only printed on changes.

The Makefile is now created even if the build is aborted due to an
unclean working tree. That should not make a difference in practice.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260305-kbuild-makefile-spam-v1-1-910f6cf218a1@linutronix.de
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Makefile