ANDROID: use arm-linux-androidkernel- for CROSS_COMPILE_COMPAT

While ultimately resulting in the same binary being used, this allows
the arm64 compat vdso to use the same target triple as an ARCH=arm build
for Android.

This means that arm-linux-androideabi-elfedit doesn't need to be created
in: https://android.googlesource.com/platform/prebuilts/gas/linux-x86/.

Bug: 141693040
Test: BUILD_CONFIG=common/build.config.gki.aarch64 ./build/build.sh
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Iecebbfe2588615399c73255fd89d0c5ce42db9c0
This commit is contained in:
Nick Desaulniers 2020-10-01 17:09:28 -07:00
parent b03349cb58
commit 141de28f95

View file

@ -2,7 +2,7 @@ ARCH=arm64
CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=aarch64-linux-androidkernel-
CROSS_COMPILE_COMPAT=arm-linux-androideabi-
CROSS_COMPILE_COMPAT=arm-linux-androidkernel-
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
LINUX_GCC_CROSS_COMPILE_COMPAT_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/