-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBoardConfig.mk
40 lines (29 loc) · 976 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) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from common sdm439-common
include device/xiaomi/sdm439-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/olives
# Asserts
TARGET_OTA_ASSERT_DEVICE := olive,olivelite,olivewood,olives
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):libinit_olives
TARGET_RECOVERY_DEVICE_MODULES := libinit_olives
# Kernel
TARGET_KERNEL_CONFIG := olive-perf_defconfig
# Partitions
BOARD_CACHEIMAGE_PARTITION_SIZE := 402653184
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4294967296
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Security patch level
VENDOR_SECURITY_PATCH := 2021-07-01
# SELinux
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/biometrics/sepolicy
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Inherit from the proprietary version
include vendor/xiaomi/olives/BoardConfigVendor.mk