kbuild: replace AS=clang with LLVM_IAS=1
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 01:36:22 +0000 (10:36 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Apr 2020 18:18:09 +0000 (03:18 +0900)
commit7e20e47c70f810d678d02941fa3c671209c4ca97
treeb3b9f8270783a25ae04761643b84055f527f9948
parent76426e238834f0927dee9925e8832179b8d56d6e
kbuild: replace AS=clang with LLVM_IAS=1

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>
Documentation/kbuild/llvm.rst
Makefile