diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-01-21 14:42:39 +0100 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-01-21 17:01:30 -0700 |
| commit | 502678b88cb3b01908315bc2ba91557f4d2cf49a (patch) | |
| tree | 26b09a2d70467dc681764e6551822abea90f3277 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 301a02d405a3ac4c7661b47571e2b843671e9c60 (diff) | |
kbuild: Reject unexpected values for LLVM=
The LLVM argument is documented to accept one of three forms:
* a literal '1' to use the default 'clang',
* a toolchain prefix path, ending in a trailing '/',
* a version suffix.
All other values are silently treated as '1'. If for example
the user accidentally forgets the trailing '/' of a toolchain prefix,
kbuild will unexpectedly and silently fall back to the system toolchain.
Instead report an error if the user specified an invalid value for LLVM.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Tested-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260121-kbuild-llvm-arg-v2-1-5e4d8dca4ad8@weissschuh.net
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
