Skip to content

kbuild: uapi: improvements to header testing

Thomas Weißschuh bpf linux-hexagon linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20251203-uapi-nostdinc-64edce85d464

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5kbuild: uapi: validate that headers do not use libcusr/include/Makefile+77 -00 replies
2/5hexagon: Drop invalid UAPI header asm/signal.harch/hexagon/include/asm/signal.h+0 -00 replies
3/5kbuild: uapi: don't compile test bpf_perf_event.h on xtensausr/include/Makefile+4 -00 replies
4/5kbuild: uapi: split out command conditions into variablesusr/include/Makefile+5 -20 replies
5/5kbuild: uapi: drop dependency on CC_CAN_LINKinit/Kconfig usr/include/Makefile+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

---
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,

Signature · 1 line
Thomas Weißschuh <[email protected]>