android_kernel_xiaomi_sm8350/build.config.aarch64
Nick Desaulniers ee064d54e1
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
2022-11-14 03:04:00 +02:00

16 lines
428 B
Plaintext

ARCH=arm64
CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=aarch64-linux-androidkernel-
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_ARM32_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/
FILES="
arch/arm64/boot/Image.gz
arch/arm64/boot/Image
vmlinux
System.map
Module.symvers
"