[PATCH 0/5] kbuild: uapi: improvements to header testing

From: Thomas Weißschuh

Date: Tue Dec 23 2025 - 02:04:17 EST


Also validate that UAPI headers do not depend on libc and remove the
dependency on CC_CAN_LINK.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
Thomas Weißschuh (5):
kbuild: uapi: validate that headers do not use libc
hexagon: Drop invalid UAPI header asm/signal.h
kbuild: uapi: don't compile test bpf_perf_event.h on xtensa
kbuild: uapi: split out command conditions into variables
kbuild: uapi: drop dependency on CC_CAN_LINK

arch/hexagon/include/{uapi => }/asm/signal.h | 0
init/Kconfig | 2 +-
usr/include/Makefile | 87 +++++++++++++++++++++++++++-
3 files changed, 87 insertions(+), 2 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251203-uapi-nostdinc-64edce85d464

Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>