diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 70e4168..55793ea 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -62,6 +62,7 @@ TARGET_KERNEL_SOURCE := kernel/samsung/sm7125 TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_HEADER_ARCH := arm64 TARGET_LINUX_KERNEL_VERSION := 4.14 +KERNEL_CC := CC=clang # Kernel flags BOARD_KERNEL_CMDLINE += console=null androidboot.hardware=qcom androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=1 androidboot.usbcontroller=a600000.dwc3 printk.devkmsg=on firmware_class.path=/vendor/firmware_mnt/image