android_kernel_motorola_sm6375/arch/riscv
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Masahiro Yamada 6d288859ed
BACKPORT: kbuild: check CONFIG_AS_IS_LLVM instead of LLVM_IAS
commit 52cc02b910284d6bddba46cce402044ab775f314 upstream.

LLVM_IAS is the user interface to set the -(no-)integrated-as flag,
and it should be used only for that purpose.

LLVM_IAS is checked in some places to determine the assembler type,
but it is not precise.

For example,

 $ make CC=gcc LLVM_IAS=1

... will use the GNU assembler (i.e. binutils) since LLVM_IAS=1 is
effective only when $(CC) is clang.

Of course, 'CC=gcc LLVM_IAS=1' is an odd combination, but the build
system can be more robust against such insane input.

Commit ba64beb17493a ("kbuild: check the minimum assembler version in
Kconfig") introduced CONFIG_AS_IS_GNU/LLVM, which is more precise
because Kconfig checks the version string from the assembler in use.

Change-Id: I190f91350cdb4305a01cabc80d952b0541aef521
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
[nathan: Backport to 5.10]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-05 20:02:23 +03:00
..
boot
configs
include riscv: Avoid fortify warning in syscall_get_arguments() 2025-05-02 07:39:20 +02:00
kernel BACKPORT: maccess: rename probe_kernel_address to get_kernel_nofault 2026-01-14 18:13:21 -08:00
lib
mm UPSTREAM: mm: allow VM_FAULT_RETRY for multiple times 2025-05-18 08:08:42 +00:00
net
Kbuild
Kconfig riscv: define ILLEGAL_POINTER_VALUE for 64bit 2024-11-08 16:20:41 +01:00
Kconfig.debug
Kconfig.socs
Makefile BACKPORT: kbuild: check CONFIG_AS_IS_LLVM instead of LLVM_IAS 2026-05-05 20:02:23 +03:00