-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
38 lines (27 loc) · 960 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
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm8250-common
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/thyme
# Display
TARGET_SCREEN_DENSITY := 440
# Device VINTF
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_thyme
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_thyme
# Kernel
TARGET_KERNEL_CONFIG += vendor/xiaomi/thyme.config
# OTA assert
TARGET_OTA_ASSERT_DEVICE := thyme
# PowerShare
TARGET_POWERSHARE_PATH := /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,qpnp-smb5/power_supply/wireless/reverse_chg_mode
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Sepolicy
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Inherit from the proprietary version
include vendor/xiaomi/thyme/BoardConfigVendor.mk