From 816cf6a1cd9eba0356fbbb02b8d36b238839e55c Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 18 Aug 2022 16:05:15 +0200 Subject: [PATCH] sm6150-common: Use LLVM binutils and LLVM integrated assembler Change-Id: I408c0e1b272af25e8e606e586a9e1d6e7082afba --- BoardConfigCommon.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 44791f7..f59af5f 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -86,6 +86,9 @@ BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_SEPARATED_DTBO := true TARGET_KERNEL_SOURCE := kernel/xiaomi/sm6150 +TARGET_KERNEL_ADDITIONAL_FLAGS := \ + LLVM=1 \ + LLVM_IAS=1 BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x880000 BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom androidboot.console=ttyMSM0