-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
43 lines (32 loc) · 1.01 KB
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/xiaomi/renoir
# Inherit from sm7350-common
include device/xiaomi/sm7350-common/BoardConfigCommon.mk
# Board
TARGET_BOOTLOADER_BOARD_NAME := renoir
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/hidl/manifest.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/hidl/framework_compatibility_matrix.xml
# Kernel
TARGET_KERNEL_CONFIG += vendor/renoir_QGKI.config
# Firmware
-include vendor/xiaomi/renoir-firmware/BoardConfigVendor.mk
# Kernel modules
BOOT_KERNEL_MODULES := \
focaltech_touch.ko \
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 := 114001162240
# Vibrator
SOONG_CONFIG_xiaomiSm8350Vars_vibrator_use_effect_stream := true
# Include proprietary files
include vendor/xiaomi/renoir/BoardConfigVendor.mk