sm8350-common: Pass LLVM=1 for kernel instead of specifying only LD.

Change-Id: If2a4dcafb6602610a23fca9d067a484ab2e3b05b
This commit is contained in:
Alessandro Astone 2021-06-09 15:19:02 +02:00 committed by LuK1337
parent 93ac0da33e
commit 3da2d4fbc4

View file

@ -49,8 +49,7 @@ BOARD_KERNEL_IMAGE_NAME := Image
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_SEPARATED_DTBO := true
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
KERNEL_LD := LD=ld.lld
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/oneplus/sm8350
TARGET_KERNEL_CLANG_COMPILE := true
TARGET_KERNEL_CONFIG := vendor/lahaina-qgki_defconfig