]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
checksyscalls: only run when necessary
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 2 Apr 2026 14:36:19 +0000 (16:36 +0200)
committerNicolas Schier <nsc@kernel.org>
Sun, 5 Apr 2026 07:21:31 +0000 (09:21 +0200)
commitb34db3fa85c4d34ceee5231cd27e587153bc25ab
treef20eb7b3fa1200322cee3099883d6a079d9f6f0d
parente856b6ca14765501a47eb497f7e35dc7efefce5f
checksyscalls: only run when necessary

Currently checksyscalls.sh is unconditionally executed during each build.
Most of these executions are unnecessary.

Only run checksyscalls.sh if one of its inputs have changed.

This new logic does not work for the multiple invocations done for MIPS.
The effect is that checksyscalls.sh is still executed unconditionally.
However this is not worse than before.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260402-kbuild-missing-syscalls-v3-2-6641be1de2db@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Kbuild
scripts/checksyscalls.sh