commit | 444a6d0fe930838444abf7c9ff5175f93e1a5d72 | [log] [tgz] |
---|---|---|
author | Dmitry Golovin <[email protected]> | Tue Nov 19 16:39:42 2019 +0100 |
committer | Greg Kroah-Hartman <[email protected]> | Sat Oct 17 10:12:56 2020 +0200 |
tree | d17124c8f015950d4d54680de058d95342f29674 | |
parent | e7f04b0725ff3e2781a080dd34b76b2d5a447ef1 [diff] |
ARM: 8939/1: kbuild: use correct nm executable [ Upstream commit 29c623d64f0dcd6aa10e0eabd16233e77114090b ] 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 <[email protected]> Suggested-by: Nick Desaulniers <[email protected]> Cc: Matthias Maennich <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Russell King <[email protected]> Signed-off-by: Sasha Levin <[email protected]>