-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardConfig.mk
44 lines (33 loc) · 930 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
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Assert
TARGET_OTA_ASSERT_DEVICE := DDV,DDV_sprout,Daredevil
# QCOM
TARGET_BOARD_PLATFORM := sdm660
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := sdm660
# Inherit from common device tree
include device/nokia/msm8998-common/BoardConfigCommon.mk
# A/B
AB_OTA_PARTITIONS += \
dtbo \
vbmeta
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Kernel
TARGET_KERNEL_CONFIG := lineageos_DDV_defconfig
# Props
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Partitions
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560
BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
# Inherit the proprietary files
include vendor/nokia/DDV/BoardConfigVendor.mk