]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: uapi: only use dummy-include for headers which use libc
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 27 Feb 2026 06:38:03 +0000 (07:38 +0100)
committerNicolas Schier <nsc@kernel.org>
Thu, 12 Mar 2026 11:48:08 +0000 (12:48 +0100)
commit0ef1b7a66b604593c62a6375e4b6afa0a5f2e04a
treea747223a3bcc1d6399f4ac3afbdbf053684f4a2e
parent60a16beedf37db82edf39346fdc9e3916ab41994
kbuild: uapi: only use dummy-include for headers which use libc

The headers which do not rely on libc are using built using -nostdinc.
For them the dummy headers are pointless.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Tested-by: Nicolas Schier <nsc@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260227-kbuild-uapi-libc-v1-5-c17de0d19776@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
usr/include/Makefile