2019-08-28 02:17:02 -04:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2019 The LineageOS Project
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
#
|
|
|
|
|
|
2020-10-05 05:08:13 +00:00
|
|
|
DEVICE_PATH := device/nokia/PL2
|
|
|
|
|
|
2019-08-28 02:17:02 -04:00
|
|
|
# Inherit from nokia sdm660-common
|
|
|
|
|
-include device/nokia/sdm660-common/BoardConfigCommon.mk
|
|
|
|
|
|
2019-02-21 15:04:20 +00:00
|
|
|
# Architecture
|
2023-11-27 23:09:15 -05:00
|
|
|
TARGET_CPU_VARIANT_RUNTIME := cortex-a53
|
2023-11-27 23:17:26 -05:00
|
|
|
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a53
|
2019-02-21 15:04:20 +00:00
|
|
|
|
2023-11-27 22:53:28 -05:00
|
|
|
# Assertions
|
2023-11-27 22:47:50 -05:00
|
|
|
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
|
2023-11-27 22:53:28 -05:00
|
|
|
TARGET_OTA_ASSERT_DEVICE := PL2,PL2_sprout,Plate2
|
2022-01-31 03:27:21 +02:00
|
|
|
|
2019-08-28 02:17:02 -04:00
|
|
|
# Bootloader
|
|
|
|
|
TARGET_BOOTLOADER_BOARD_NAME := sdm630
|
|
|
|
|
|
2021-07-19 16:11:07 +02:00
|
|
|
# Display
|
|
|
|
|
TARGET_SCREEN_DENSITY := 420
|
|
|
|
|
|
2019-08-29 00:15:41 +00:00
|
|
|
# Partitions
|
|
|
|
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
|
|
|
|
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
|
|
|
|
|
BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
|
2019-12-27 09:29:36 +00:00
|
|
|
BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
|
2019-08-29 00:15:41 +00:00
|
|
|
BOARD_FLASH_BLOCK_SIZE := 262144
|
2020-10-05 05:12:50 +00:00
|
|
|
|
|
|
|
|
# Properties
|
|
|
|
|
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
2019-02-19 16:18:24 +00:00
|
|
|
|
|
|
|
|
# SELinux
|
|
|
|
|
SELINUX_IGNORE_NEVERALLOWS := true
|
2019-05-28 14:05:51 +02:00
|
|
|
BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
|
2024-05-06 12:47:44 -04:00
|
|
|
|
|
|
|
|
# Inherit from the proprietary version
|
|
|
|
|
include vendor/nokia/PL2/BoardConfigVendor.mk
|