-
Notifications
You must be signed in to change notification settings - Fork 12
/
BoardConfig.mk
41 lines (31 loc) · 917 Bytes
/
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
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/xiaomi/renoir
# Inherit from sm8350-common
include device/xiaomi/sm8350-common/BoardConfigCommon.mk
# Board
TARGET_BOOTLOADER_BOARD_NAME := renoir
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/hidl/manifest.xml
# Kernel
TARGET_KERNEL_CONFIG += vendor/renoir_QGKI.config
# 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
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Vibrator
TARGET_QTI_VIBRATOR_EFFECT_LIB := libqtivibratoreffect.xiaomi
TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM := true
# Include proprietary files
include vendor/xiaomi/renoir/BoardConfigVendor.mk