-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
49 lines (38 loc) · 1009 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
41
42
43
44
45
46
47
48
49
#
# 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/alioth
BUILD_BROKEN_DUP_RULES := true
# A/B
BOARD_USES_RECOVERY_AS_BOOT := true
BOARD_BUILD_SYSTEM_ROOT_IMAGE := false
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
dtbo \
odm \
product \
system \
system_ext \
vbmeta \
vbmeta_system \
vendor \
vendor_boot
# Board
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_alioth
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_alioth
# Kernel
TARGET_KERNEL_CONFIG := alioth_defconfig
# OTA assert
TARGET_OTA_ASSERT_DEVICE := alioth,aliothin
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Inherit from the proprietary version
include vendor/xiaomi/alioth/BoardConfigVendor.mk