From 134107266577a65b434963cca48a579c5393b4ec Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Mon, 11 Apr 2022 21:13:13 -0700 Subject: [PATCH] sm8350-common: Sort kernel cmdline and additional flags as a list * This allows better readability and eases tracking further changes. Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f --- BoardConfigCommon.mk | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 0a17dd0..b328057 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -43,12 +43,26 @@ TARGET_NO_BOOTLOADER := true # Kernel BOARD_BOOT_HEADER_VERSION := 3 BOARD_KERNEL_BASE := 0x00000000 -BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket reboot=panic_warm +BOARD_KERNEL_CMDLINE := \ + androidboot.console=ttyMSM0 \ + androidboot.hardware=qcom \ + androidboot.memcg=1 \ + androidboot.usbcontroller=a600000.dwc3 \ + cgroup.memory=nokmem,nosocket \ + loop.max_part=7 \ + lpm_levels.sleep_disabled=1 \ + msm_rtb.filter=0x237 \ + reboot=panic_warm \ + service_locator.enable=1 \ + swiotlb=2048 \ + video=vfb:640x400,bpp=32,memsize=3072000 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 LLVM=1 +TARGET_KERNEL_ADDITIONAL_FLAGS := \ + DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc \ + LLVM=1 TARGET_KERNEL_SOURCE := kernel/oneplus/sm8350 TARGET_KERNEL_CONFIG := vendor/lahaina-qgki_defconfig