From 2e94198a793a0774b224ad4be8bc25e79742bd33 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Sun, 13 Feb 2022 15:16:45 +0800 Subject: [PATCH] Revert "sm8250-common: Use gcc binutils for kernel" This reverts commit b8be3007b09ad4129b8f1ba7a7d99f10f403ed04. Change-Id: I5782f75c42a76b408058adeb62c3a9e336f969a9 --- BoardConfigCommon.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 8a89e94..b4c7a87 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -54,7 +54,8 @@ BOARD_KERNEL_IMAGE_NAME := Image BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_SEPARATED_DTBO := true BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) -TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc +TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc \ + LLVM=1 TARGET_KERNEL_SOURCE := kernel/motorola/sm8250 TARGET_KERNEL_CLANG_COMPILE := true TARGET_KERNEL_CONFIG := vendor/kona-perf_defconfig vendor/lineage_moto-kona.config