[PATCH v2 0/3] checksyscalls: only run when necessary
From: Thomas Weißschuh
Date: Tue Mar 24 2026 - 13:24:51 EST
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.
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Changes in v2:
- Also send to kbuild maintainers
- Link to v1: https://patch.msgid.link/20260303-kbuild-missing-syscalls-v1-0-3b4d69b68c75@xxxxxxxxxxxxxx
---
Thomas Weißschuh (3):
checksyscalls: move path to reference table to a variable
checksyscalls: only run when necessary
checksyscalls: move instance functionality into generic code
Kbuild | 14 ++++++++++----
arch/mips/Makefile | 6 ++----
scripts/checksyscalls.sh | 9 ++++++++-
3 files changed, 20 insertions(+), 9 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260212-kbuild-missing-syscalls-e328de3c4b54
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>