-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
47 lines (34 loc) · 1.05 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
47
#
# Copyright (C) 2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/nokia/A1N
# QCOM
TARGET_BOARD_PLATFORM := msm8998
# Permissive
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
# Inherit from common device tree
include device/nokia/msm8998-common/BoardConfigCommon.mk
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := msm8998
# Camera
TARGET_SUPPORT_HAL1 := false
# Density
TARGET_SCREEN_DENSITY := 520
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/framework_compatibility_matrix.xml
# Kernel
TARGET_KERNEL_CONFIG := lineageos_A1N_defconfig
# Props
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Partitions
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
# SEPolicy
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Include the proprietary files
include vendor/nokia/A1N/BoardConfigVendor.mk