Re: [PATCH 0/9] kbuild: uapi: remove usage of toolchain headers

From: Nathan Chancellor

Date: Mon Mar 09 2026 - 21:00:48 EST


On Fri, Feb 27, 2026 at 07:37:58AM +0100, Thomas Weißschuh wrote:
> Currently the test compilation of some UAPI headers requires a toolchain
> libc headers. Remove that dependency.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
> Thomas Weißschuh (9):
> hexagon: uapi: Fix structure alignment attribute
> kbuild: uapi: test linux/bpf_perf_event.h on powerpc
> kbuild: uapi: deduplicate linux/bpf_perf_event.h exclusions
> kbuild: uapi: completely exclude linux/bpf_perf_event.h on nios2
> kbuild: uapi: only use dummy-include for headers which use libc
> kbuild: uapi: provide stub includes for some libc headers
> kbuild: uapi: use custom stub headers instead of libc ones
> kbuild: uapi: simplify libc dependency logic
> kbuild: uapi: remove now unneeded guard headers

This is nice! For the series:

Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>

Cheers,
Nathan