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

Nathan Chancellor
2025-12-30T20:32:00Z

Hi Thomas,

On Tue, Dec 23, 2025 at 08:04:07AM +0100, Thomas Weißschuh wrote:
> 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@linutronix.de>
> ---
> 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(-)

This seems like a great improvement to the UAPI header testing. I don't
see any immediate problems and it works for me in my brief local
testing. I will give a week or so for comments before I apply this to
kbuild-next (plus -next should be operating at that point).

Cheers,
Nathan