]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef713c9aa975bcc71cd0c4c93e07e667de63e86d
treeb3b9f8270783a25ae04761643b84055f527f9948
parenta705cf5b3b18d075123d4dfc305524170c20dbb8
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