mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-10-26 06:00:04 +00:00
Select the Ferrari driver profile and combined overlay with WAIPIO v1/v2 bases. Fetch the relocated kernel, modules and devicetrees trees. Assisted-by: LLM Change-Id: Idb1ab8c23d2c41a29449cf91709292ee857f8e52
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
#
|
|
# Copyright (C) 2021-2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Kernel
|
|
TARGET_USES_KERNEL_6_6 := true
|
|
|
|
# Include the common OEM chipset BoardConfig.
|
|
include device/oneplus/sm8450-common/BoardConfigCommon.mk
|
|
|
|
DEVICE_PATH := device/realme/ferrari
|
|
|
|
# Kernel
|
|
TARGET_KERNEL_CONFIG += vendor/oplus/ferrari.config
|
|
TARGET_MERGE_DTBS_WILDCARD := waipio*
|
|
TARGET_MERGE_DTBOS_WILDCARD := ferrari-21631-waipio-overlay
|
|
|
|
# Biometrics (Face)
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.biometrics.face.xml
|
|
|
|
# HIDL
|
|
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
|
|
|
# Properties
|
|
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
|
|
|
# Recovery
|
|
TARGET_RECOVERY_DENSITY := xxhdpi
|
|
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 126
|
|
|
|
# VINTF
|
|
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
|
|
$(DEVICE_PATH)/vintf/compatibility_matrix.xml
|
|
|
|
# Include the proprietary files BoardConfig.
|
|
include vendor/realme/ferrari/BoardConfigVendor.mk
|