-
Notifications
You must be signed in to change notification settings - Fork 1
/
BoardConfig.mk
41 lines (32 loc) · 1.1 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
#
# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from xiaomi sm8450-common
include device/xiaomi/sm8450-common/BoardConfigCommon.mk
# Inherit from the proprietary version
include vendor/xiaomi/marble/BoardConfigVendor.mk
# Inherit from proprietary files for miuicamera
-include device/xiaomi/miuicamera-marble/BoardConfig.mk
DEVICE_PATH := device/xiaomi/marble
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_marble
TARGET_RECOVERY_DEVICE_MODULES ?= init_xiaomi_marble
# Kernel modules
BOOT_KERNEL_MODULES += \
qcom_pm8008-regulator.ko \
gt9916r.ko \
qcom-hv-haptics.ko \
fpc1540.ko \
goodix_3626.ko
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(BOOT_KERNEL_MODULES)
BOARD_VENDOR_KERNEL_MODULES_LOAD += $(BOOT_KERNEL_MODULES)
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/properties/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
# Screen density
TARGET_SCREEN_DENSITY := 440
# Vibrator
TARGET_QTI_VIBRATOR_EFFECT_LIB := libqtivibratoreffect.xiaomi
TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM := true