]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8939/1: kbuild: use correct nm executable
authorDmitry Golovin <dima@golovin.in>
Tue, 19 Nov 2019 15:39:42 +0000 (16:39 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 22 Nov 2019 00:19:11 +0000 (00:19 +0000)
commit8935d899160062d22184106e63336745ca062ef3
tree4b797f6505bfbf22c1bf48e52cdebf56fc5d175c
parent9ce413ac74e49b31f17d9bc6d8baf38f4db4b53e
ARM: 8939/1: kbuild: use correct nm executable

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>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/Makefile