-
Notifications
You must be signed in to change notification settings - Fork 1
/
BoardConfig.mk
46 lines (33 loc) · 1002 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
45
46
#
# Copyright (C) 2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Treble
PRODUCT_FULL_TREBLE_OVERRIDE := true
# Inherit from msm8937-common
-include device/motorola/msm8937-common/BoardConfigCommon.mk
DEVICE_PATH := device/motorola/perry
# Assert
TARGET_OTA_ASSERT_DEVICE := perry
# Camera
TARGET_PROCESS_SDK_VERSION_OVERRIDE := \
/vendor/bin/mm-qcamera-daemon=27
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Kernel
TARGET_KERNEL_CONFIG := perry_defconfig
# NFC
NXP_CHIP_TYPE := pn554
BOARD_NFC_HAL_SUFFIX := $(TARGET_BOARD_PLATFORM)
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16879616
BOARD_USERDATAIMAGE_PARTITION_SIZE := 10768858112
# Security patch level
VENDOR_SECURITY_PATCH := 2019-08-01
# System as root
BOARD_KERNEL_CMDLINE += dm=\"system none ro,0 1 android-verity /dev/mmcblk0p53\"
# Disable dex-preoptimization
WITH_DEXPREOPT := false
# Inherit from the proprietary version
-include vendor/motorola/perry/BoardConfigVendor.mk