diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-13 20:40:00 +0100 |
|---|---|---|
| committer | Shuah Khan <skhan@linuxfoundation.org> | 2026-10-15 09:06:21 -0600 |
| commit | cc4a09cc4391098cd7241e010567e49289c211d0 (patch) | |
| tree | 766ba933a4a3ca9bdd1511e329387384ebb238ab /scripts/objdiff | |
| parent | 62d432038329456b71643f77ae586165fb1c2c35 (diff) | |
selftests: kselftest_deps.sh: Support LLVM
The kselftest_deps.sh script currently takes a compiler as the first
argument and uses it to check that libraries needed by the selftests
are installed. This works well for GCC where a separate binary is
provided for each target architecture but is less of a good fit for
LLVM where a single compiler binary can target all of the supported
architetures. Extend the script to accept "LLVM" as the compiler with
an additional optional ARCH= argument so that it can be used when
building with LLVM in a similar fashion to how the actual build works.
The duplication with the main Makefile isn't ideal here.
Link: https://lore.kernel.org/r/20261013-kselftest-deps-llvm-v1-1-f2ee70ae1b79@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
