2022-02-15 14:01:08 +01:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2022 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.
|
|
|
|
|
#
|
|
|
|
|
|
2022-10-18 22:53:03 +02:00
|
|
|
DEVICE_PATH := device/motorola/eqs
|
2022-02-16 23:32:31 +01:00
|
|
|
|
2022-10-18 22:53:03 +02:00
|
|
|
# Inherit from motorola sm8475-common
|
|
|
|
|
include device/motorola/sm8475-common/BoardConfigCommon.mk
|
2022-02-15 14:01:08 +01:00
|
|
|
|
2022-03-09 17:23:40 +01:00
|
|
|
# Bootloader
|
2022-10-18 22:53:03 +02:00
|
|
|
TARGET_BOOTLOADER_BOARD_NAME := eqs
|
2022-03-09 17:23:40 +01:00
|
|
|
|
2022-02-10 22:04:32 +02:00
|
|
|
# Fingerprint
|
2022-10-18 22:53:03 +02:00
|
|
|
#TARGET_SURFACEFLINGER_UDFPS_LIB := //$(DEVICE_PATH):libudfps_extension.eqs
|
|
|
|
|
#SOONG_CONFIG_qtidisplay_udfps := true
|
2022-02-10 22:04:32 +02:00
|
|
|
|
2022-03-06 23:03:33 +01:00
|
|
|
# HIDL
|
2022-10-18 22:53:03 +02:00
|
|
|
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/device_framework_matrix_eqs.xml
|
|
|
|
|
DEVICE_MANIFEST_CAPE_FILES += $(DEVICE_PATH)/manifest_eqs.xml
|
2022-03-06 23:03:33 +01:00
|
|
|
|
2022-02-17 12:06:58 +01:00
|
|
|
# Kernel
|
2023-01-10 19:12:05 +02:00
|
|
|
TARGET_KERNEL_CONFIG += \
|
|
|
|
|
vendor/ext_config/moto-waipio-eqs.config \
|
|
|
|
|
vendor/ext_config/lineage-moto-waipio-eqs.config
|
2022-02-17 12:06:58 +01:00
|
|
|
|
2022-03-25 20:58:27 +01:00
|
|
|
# Kernel Modules
|
2023-01-08 20:00:21 +02:00
|
|
|
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load))
|
|
|
|
|
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist
|
2022-10-19 16:16:24 +02:00
|
|
|
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_boot))
|
|
|
|
|
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_boot
|
2022-03-25 20:58:27 +01:00
|
|
|
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery))
|
2023-01-08 20:00:21 +02:00
|
|
|
BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD)
|
2022-03-25 20:58:27 +01:00
|
|
|
|
2022-02-15 14:01:08 +01:00
|
|
|
# Partitions
|
2022-10-18 22:53:03 +02:00
|
|
|
BOARD_USERDATAIMAGE_PARTITION_SIZE := 228362006528
|
2022-02-15 14:01:08 +01:00
|
|
|
ifneq ($(WITH_GMS),true)
|
2022-08-03 21:26:21 -06:00
|
|
|
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 3318226944
|
|
|
|
|
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 873680896
|
|
|
|
|
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 916299776
|
2022-02-15 14:01:08 +01:00
|
|
|
endif
|
2022-10-18 22:53:03 +02:00
|
|
|
BOARD_MOT_DP_GROUP_SIZE := 11806965760 # ( BOARD_SUPER_PARTITION_SIZE - 4MB )
|
|
|
|
|
BOARD_SUPER_PARTITION_SIZE := 11811160064
|
2022-02-15 18:31:18 +01:00
|
|
|
|
2022-02-16 23:32:31 +01:00
|
|
|
# Properties
|
2022-10-30 18:02:35 +01:00
|
|
|
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop
|
2022-03-09 17:23:40 +01:00
|
|
|
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
|
2022-02-16 23:32:31 +01:00
|
|
|
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
2022-02-15 18:31:18 +01:00
|
|
|
|
2022-02-18 01:36:06 +01:00
|
|
|
# Recovery
|
|
|
|
|
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 90
|
|
|
|
|
|
2022-02-21 18:19:55 +01:00
|
|
|
# Security
|
2022-12-29 18:18:38 +01:00
|
|
|
VENDOR_SECURITY_PATCH := 2022-12-01
|
2022-02-21 18:19:55 +01:00
|
|
|
|
2022-02-15 18:31:18 +01:00
|
|
|
# inherit from the proprietary version
|
2022-10-18 22:53:03 +02:00
|
|
|
include vendor/motorola/eqs/BoardConfigVendor.mk
|