diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-03-06 17:33:09 +0100 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2026-03-20 21:43:56 +0100 |
| commit | bb25b5635e90e33c8c1c4ef231d4d7351c06be49 (patch) | |
| tree | 00faf4bd59d639004eeee0130f0ec9e74fb089fb /scripts | |
| parent | 9940ec38f12ed8ffe8edc1944f9bbdf9b9a4689e (diff) | |
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>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check-uapi.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check-uapi.sh b/scripts/check-uapi.sh index e4d120eb09e3..c8beec58871c 100755 --- a/scripts/check-uapi.sh +++ b/scripts/check-uapi.sh @@ -191,6 +191,7 @@ do_compile() { -fno-eliminate-unused-debug-types \ -g \ "-I${inc_dir}" \ + "-Iusr/dummy-include" \ -include "$header" \ - } |
