-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
46 lines (35 loc) · 1.29 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
#
# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm6225-common
include device/motorola/sm6225-common/BoardConfigCommon.mk
DEVICE_PATH := device/motorola/rhode
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := rhode
# Display
TARGET_SCREEN_DENSITY := 400
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
ODM_MANIFEST_SKUS += b
ODM_MANIFEST_B_FILES := $(DEVICE_PATH)/sku/manifest_b.xml
# Kernel
TARGET_KERNEL_CONFIG += vendor/ext_config/rhode-default.config
# Kernel Modules - Vendor Boot
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/vendor_boot.modules.load))
BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD)
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 105
# Security patch level
VENDOR_SECURITY_PATCH := 2023-05-01
# Verified Boot
BOARD_AVB_ROLLBACK_INDEX := 12
BOARD_AVB_VBMETA_SYSTEM := system system_ext product
BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA2048
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := 12
BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 2
# Inherit from the proprietary version
include vendor/motorola/rhode/BoardConfigVendor.mk