sdm660-common: Use LLVM binutils by default in source

* GCC has been completely removed in AOSP but we keep it
      for compatibility reasons with older kernels until they
      are adapted to remove all the dependencies to GCC.
* Most updated 4.19+ kernels should be able to use LLVM
      binutils out of the box. 4.14 is possible with a few patches
      and 4.9 with even more patches.
* Make this the default and allow devices opting out by using
      TARGET_KERNEL_LLVM_BINUTILS := false

Change-Id: I569cf290b41aaf2dc16ff9cc4cc6dc461f0d504e
This commit is contained in:
Michael Bestas 2023-03-03 04:07:51 +00:00 committed by CakesTwix
parent 952c7d9cf1
commit 79debef800

View file

@ -123,6 +123,7 @@ TARGET_KERNEL_VERSION := 4.19
TARGET_KERNEL_SOURCE := kernel/xiaomi/sdm660
TARGET_COMPILE_WITH_MSM_KERNEL := true
BOARD_RAMDISK_USE_LZ4 := true
TARGET_KERNEL_LLVM_BINUTILS := false
# Enable stats logging in LMKD
TARGET_LMKD_STATS_LOG := true