-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
40 lines (29 loc) · 1015 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
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/xiaomi/elish
# Inherit from sm8250-common
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
BUILD_BROKEN_DUP_RULES := true
# Board
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
# Display
TARGET_SCREEN_DENSITY := 360
# Kernel
TARGET_KERNEL_CONFIG += vendor/xiaomi/elish.config
# OTA assert
TARGET_OTA_ASSERT_DEVICE := elish
# Properties
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Sepolicy
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/public
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# VINTF
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/framework_compatibility_matrix.xml
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Inherit from the proprietary version
include vendor/xiaomi/elish/BoardConfigVendor.mk