[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176839722213.411649.12526241406741915410.b4-ty@kernel.org>
Date: Wed, 14 Jan 2026 14:27:40 +0100
From: Nicolas Schier <nsc@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
Josh Poimboeuf <jpoimboe@...nel.org>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Carlos Llamas <cmllamas@...gle.com>
Cc: Nicolas Schier <nsc@...nel.org>,
kernel-team@...roid.com,
linux-kernel@...r.kernel.org,
"open list:CLANG/LLVM BUILD SUPPORT:Keyword:b(?i:clang|llvm)b" <llvm@...ts.linux.dev>
Subject: Re: [PATCH] kbuild: prefer ${NM} in check-function-names.sh
On Thu, 18 Dec 2025 17:58:06 +0000, Carlos Llamas wrote:
> The check-function-names.sh scripts invokes 'nm' directly and this can
> be problematic during cross-compilation when the toolchain is different
> from the system's default (e.g. LLVM=1).
>
> scripts/check-function-names.sh: nm: not found
>
> Let's prefer the ${NM} variable which is already set by kbuild. However,
> still fallback to plain 'nm' to ensure the script is still usable when
> called directly.
>
> [...]
Applied, thanks!
[1/1] kbuild: prefer ${NM} in check-function-names.sh
https://git.kernel.org/kbuild/c/946d4623
Best regards,
--
Nicolas
Powered by blists - more mailing lists