sm7125: Fix kernel compile

tirimbino
Ruchit Marathe 2 years ago
parent ec9912a3d8
commit a2024a86bf
  1. 3
      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

Loading…
Cancel
Save