]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: uapi: handle UML in architecture-specific exclusion lists
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 16 Mar 2026 16:52:00 +0000 (17:52 +0100)
committerNicolas Schier <nsc@kernel.org>
Wed, 25 Mar 2026 12:24:41 +0000 (13:24 +0100)
commitb4ec38cb739e9419ddb7310f6c49fb6d7bc39c1d
tree3a16563cfab2f000bdb446f33384dea50944df36
parentcf822413093e4fdf17ce12f10f3983b1d5f8b659
kbuild: uapi: handle UML in architecture-specific exclusion lists

When building User Mode Linux SRCARCH is set to 'um', while the actual
underlying architecture is provided in HEADER_ARCH.

Allow the exclusion lists to work on UML by comparing against
HEADER_ARCH when that is available.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260316-kbuild-uapi-c-v2-3-35d6d0ed863f@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
usr/include/Makefile