]> 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)
commit6a6c5d1a8bb3eb28fd9aec3e318900fd5d48a3fe
treeb3b9f8270783a25ae04761643b84055f527f9948
parented3e3881633d0e196831d46803d6d0ba7f73dba5
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