-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
43 lines (31 loc) · 1.03 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
#
# 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
# Build broken rules
BUILD_BROKEN_DUP_RULES := true
# Enable real time lockscreen charging current values
BOARD_GLOBAL_CFLAGS += -DBATTERY_REAL_INFO
# 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
# 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
# Inherit from the proprietary version
include vendor/xiaomi/olives/BoardConfigVendor.mk