diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 280c63a..a23ad2e 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -59,11 +59,12 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := := cortex-a55 # Kernel config # Build with Clang 11 for now -TARGET_KERNEL_CLANG_VERSION := r383902 TARGET_KERNEL_SOURCE := kernel/samsung/sm7125 TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_HEADER_ARCH := arm64 TARGET_LINUX_KERNEL_VERSION := 4.14 +TARGET_KERNEL_ADDITIONAL_FLAGS := \ + HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument" # 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