BACKPORT: kbuild: replace AS=clang with LLVM_IAS=1
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 01:36:22 +0000 (10:36 +0900)
committerBruno Martins <bgcngm@gmail.com>
Sun, 22 Oct 2023 14:12:32 +0000 (15:12 +0100)
commit0d9bb13a31b669e1900c86aa92bd0c22481b2020
tree4c1c7888359f10ecd73e544353f89483dd187fb6
parent8a6aca8ec68b601e46bcd8d8e625541d7126a1dd
BACKPORT: kbuild: replace AS=clang with LLVM_IAS=1

commit 7e20e47c70f810d678d02941fa3c671209c4ca97 upstream.

The 'AS' variable is unused for building the kernel. Only the remaining
usage is to turn on the integrated assembler. A boolean flag is a better
fit for this purpose.

AS=clang was added for experts. So, I replaced it with LLVM_IAS=1,
breaking the backward compatibility.

Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry-picked from commit 7e20e47c70f810d678d02941fa3c671209c4ca97)
Change-Id: I1dcf901b2543ee6a95cfffddd2ced50b0a1ae14c
Documentation/kbuild/llvm.txt
Makefile