Messages in this thread | | | Date | Mon, 11 Nov 2019 13:07:55 -0700 | From | Nathan Chancellor <> | Subject | Re: [PATCH] ARM: kbuild: use correct nm executable |
| |
On Sun, Nov 10, 2019 at 05:30:39PM +0200, Dmitry Golovin wrote: > Since $(NM) variable can be easily overridden for the whole build, it's > better to use it instead of $(CROSS_COMPILE)nm. The use of $(CROSS_COMPILE) > prefixed variables where their calculated equivalents can be used is > incorrect. This fixes issues with builds where $(NM) is set to llvm-nm. > > Link: https://github.com/ClangBuiltLinux/linux/issues/766 > Signed-off-by: Dmitry Golovin <dima@golovin.in> > Suggested-by: Nick Desaulniers <ndesaulniers@google.com> > Cc: Matthias Maennich <maennich@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Tested-by: Nathan Chancellor <natechancellor@gmail.com>
| |