Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

check-uapi: use dummy libc includes

Based on Thomas Weißschuh's series to kernel headers to no longer require
an installed libc when build testing the uapi headers, the same can now
be done for the scripts/check-uapi.sh script.

The only required change here is to add the usr/dummy-include include
path.

Link: https://lore.kernel.org/lkml/20260227-kbuild-uapi-libc-v1-0-c17de0d19776@weissschuh.net/ [1]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260306163309.2015837-4-arnd@kernel.org
Signed-off-by: Nicolas Schier <nsc@kernel.org>

authored by

Arnd Bergmann and committed by
Nicolas Schier
bb25b563 9940ec38

+1
+1
scripts/check-uapi.sh
··· 191 191 -fno-eliminate-unused-debug-types \ 192 192 -g \ 193 193 "-I${inc_dir}" \ 194 + "-Iusr/dummy-include" \ 194 195 -include "$header" \ 195 196 - 196 197 }