-
Notifications
You must be signed in to change notification settings - Fork 2
/
BoardConfig.mk
58 lines (44 loc) · 1.56 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Partitions
BOARD_VENDORIMAGE_PARTITION_SIZE := 333447168
BOARD_VENDORIMAGE_EXTFS_INODE_COUNT := 4096
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := squashfs
BOARD_VENDORIMAGE_JOURNAL_SIZE := 0
BOARD_VENDORIMAGE_SQUASHFS_COMPRESSOR := lz4
# Inherit from common msm8937-common
include device/xiaomi/msm8937-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/tiare
# Boot animation
TARGET_BOOTANIMATION_HALF_RES := true
# HIDL
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/configs/manifest/gatekeeper.xml
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/configs/manifest/keymaster.xml
# Kernel
TARGET_KERNEL_CONFIG := tiare_defconfig
TARGET_KERNEL_RECOVERY_CONFIG := tiare_recovery_defconfig
# Partitions
TARGET_COPY_OUT_VENDOR := vendor
BOARD_BOOTIMAGE_PARTITION_SIZE := 50331648
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_CACHEIMAGE_PARTITION_SIZE := 157286400
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1390411776
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 25165824
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1971322880
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := 8192
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs
BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0
BOARD_SYSTEMIMAGE_SQUASHFS_COMPRESSOR := lz4
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Power
TARGET_TAP_TO_WAKE_NODE := "/proc/sys/dev/dt2w"
# Security patch level
VENDOR_SECURITY_PATCH := 2021-01-05
# Sepolicy
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Inherit from the proprietary version
include vendor/xiaomi/tiare/BoardConfigVendor.mk