Re: [PATCH 0/5] kbuild: uapi: improvements to header testing
Nathan Chancellor <[email protected]>
| Newsgroups | org.kernel.vger.linux-hexagon,org.kernel.vger.bpf,org.kernel.vger.linux-kbuild,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20251230203156.GD4062669@ax162> |
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 <[email protected]> > --- > 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