ANDROID: remove stale variables from build.config files

There is no need for CROSS_COMPILE_COMPAT as of v5.16-rc1 via
commit 3e6f8d1fa184 ("arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd")
when LLVM=1 is set. This was backported to v5.10.89.

LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN was a temporary dependency until
LLVM_IAS=1 was enabled for all architectures. With LLVM_IAS=1 (implied
by LLVM=1), nothing in this directory is used and the variable can be
removed.

It doesn't hurt to respecify any of the above, but they are no longer
necessary.

We may be able to further simplify the usage of LLVM_IAS=1 and
CROSS_COMPILE in android13-5.10 depending on whether the following get
backported in the future:

commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1").
commit 231ad7f409f1 ("Makefile: infer --target from ARCH for CC=clang")

Bug: 209655537
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I361b05ea9f36da933e6712150650f476b093d0a7
This commit is contained in:
Nick Desaulniers 2021-12-29 14:05:30 -08:00 committed by Michael Bestas
parent 3d33312230
commit 35d296a02d
No known key found for this signature in database
GPG Key ID: CC95044519BE6669
3 changed files with 0 additions and 8 deletions

View File

@ -1,10 +1,6 @@
ARCH=arm64
LLVM_IAS=1
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
FILES="
arch/arm64/boot/Image.gz

View File

@ -1,8 +1,6 @@
ARCH=arm
LLVM_IAS=1
CROSS_COMPILE=arm-linux-gnueabi-
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gas/linux-x86
FILES="
arch/arm/boot/Image.gz

View File

@ -1,8 +1,6 @@
ARCH=x86_64
LLVM_IAS=1
CROSS_COMPILE=x86_64-linux-gnu-
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gas/linux-x86
FILES="
arch/x86/boot/bzImage