From 79debef800368e7f9e59d190248cd164edaba81f Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 3 Mar 2023 04:07:51 +0000 Subject: [PATCH] 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 --- BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a4774d4c..a25f4086 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -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