748b1bbbd7
Since msm_drm driver is created as a module by default for all the build configurations, it has to explicitly moved to first stage (vendor) ramdisk as the recovery menu needs the driver to display the UI. Hence, package this as a part of vendor ramdisk for QGKI configurations only as GKI doesn't have this requirement. Change-Id: Ic3d5f5a4a1d3b32de7ec4dfe9ef03bf9b8204068
32 lines
687 B
Makefile
32 lines
687 B
Makefile
#
|
|
# Copyright (C) 2022 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
DEVICE_PATH := device/xiaomi/lisa
|
|
|
|
# Inherit from sm8350-common
|
|
include device/xiaomi/sm8350-common/BoardConfigCommon.mk
|
|
|
|
# Board
|
|
TARGET_BOOTLOADER_BOARD_NAME := lisa
|
|
|
|
# Kernel
|
|
TARGET_KERNEL_CONFIG += vendor/lisa_QGKI.config
|
|
|
|
# Kernel modules
|
|
BOOT_KERNEL_MODULES := \
|
|
goodix_core.ko \
|
|
hwid.ko \
|
|
msm_drm.ko \
|
|
xiaomi_touch.ko
|
|
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(BOOT_KERNEL_MODULES)
|
|
|
|
# Partitions
|
|
BOARD_DTBOIMG_PARTITION_SIZE := 25165824
|
|
BOARD_USERDATAIMAGE_PARTITION_SIZE := 113254576128
|
|
|
|
# Include proprietary files
|
|
include vendor/xiaomi/lisa/BoardConfigVendor.mk
|