Revert "ANDROID: Kbuild, LLVMLinux: allow overriding clang target triple"

This reverts commit e145f7b103.

AOSP's distribution of GNU binutils always had a curious target triple
prefix on the binaries.  Now that GNU binutils is deprecated for Android
Common Kernels, we can now remove this out of tree workaround. Now
building Android kernels with LLVM matches upstream (see
Documentation/kbuild/llvm.rst).

Bug: 118439987
Bug: 120440614
Bug: 141693040
Signed-off-by: Nick Desaulniers <[email protected]>
Change-Id: Iecaa3264a440f795f2f3a44bdf74fe28ad4ed1cc
This commit is contained in:
Nick Desaulniers 2020-11-10 11:37:31 -08:00 • committed by Michael Bestas
commit 148cfe859f
No known key found for this signature in database
GPG key ID: CC95044519BE6669
6 changed files with 6 additions and 17 deletions

View file

@ -1,8 +1,7 @@
ARCH=arm64
CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=aarch64-linux-androidkernel-
CROSS_COMPILE_COMPAT=arm-linux-androidkernel-
CROSS_COMPILE=aarch64-linux-gnu-
CROSS_COMPILE_COMPAT=arm-linux-gnueabi-
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gas/linux-x86
LINUX_GCC_CROSS_COMPILE_COMPAT_PREBUILTS_BIN=prebuilts/gas/linux-x86