Skip to content

Fix kselftest depend - #299

Merged
bhcopeland merged 2 commits into
kernelci:masterfrom
roxell:fix-kselftest-depend
Aug 5, 2026
Merged

Fix kselftest depend#299
bhcopeland merged 2 commits into
kernelci:masterfrom
roxell:fix-kselftest-depend

Conversation

@roxell

@roxell roxell commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

roxell added 2 commits August 5, 2026 20:23
The kselftest target runs make -C tools/testing/selftests directly, so
nothing installed the UAPI headers into the build directory. lib.mk
expects them in $(objtree)/usr/include.

Without them the compiler falls back to the older host headers and new
UAPI symbols are missing, for example linux/alloc_tag.h and
LANDLOCK_ACCESS_NET_BIND_UDP.

Add headers as a dependency.

Fixes: fb535dd ("target/kselftest: Work around kselftest parellel build issue")
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
@roxell
roxell requested a review from bhcopeland August 5, 2026 18:33
@bhcopeland
bhcopeland merged commit 9478c9d into kernelci:master Aug 5, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants