-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBoardConfig.mk
More file actions
39 lines (29 loc) · 878 Bytes
/
BoardConfig.mk
File metadata and controls
39 lines (29 loc) · 878 Bytes
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
#
# Copyright (C) 2021-2026 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
USE_PREBUILT_KERNEL ?= true
# Partitions
BOARD_SUPER_PARTITION_SIZE := 16231956480
# Include the common OEM chipset BoardConfig.
include device/oneplus/sm8850-common/BoardConfigCommon.mk
DEVICE_PATH := device/oneplus/macan
# Assert
TARGET_OTA_ASSERT_DEVICE := OP612DL1
# Display
TARGET_SCREEN_DENSITY := 560
# Kernel
ifeq ($(USE_PREBUILT_KERNEL), true)
include device/oneplus/macan-kernel/BoardConfig.mk
else
TARGET_KERNEL_ADDITIONAL_FLAGS += CONFIG_MACAN_DTB=y
endif
# Properties
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103
# Include the proprietary files BoardConfig.
include vendor/oneplus/macan/BoardConfigVendor.mk