2023-05-11 17:53:50 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2022-2023 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
# Inherit from xiaomi sm8450-common
|
|
|
|
include device/xiaomi/sm8450-common/BoardConfigCommon.mk
|
|
|
|
|
|
|
|
# Inherit from the proprietary version
|
|
|
|
include vendor/xiaomi/zeus/BoardConfigVendor.mk
|
|
|
|
|
|
|
|
DEVICE_PATH := device/xiaomi/zeus
|
2023-05-11 19:32:30 +02:00
|
|
|
|
2024-01-27 11:10:12 +01:00
|
|
|
# Kernel
|
|
|
|
device_second_stage_modules := \
|
|
|
|
qcom_pm8008-regulator.ko \
|
|
|
|
fts_touch_spi.ko \
|
|
|
|
aw8697-haptic.ko
|
|
|
|
|
|
|
|
device_vendor_dlkm_exclusive_modules := \
|
|
|
|
cs35l41_dlkm.ko
|
|
|
|
|
|
|
|
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD += $(device_second_stage_modules)
|
|
|
|
BOARD_VENDOR_KERNEL_MODULES_LOAD += $(device_second_stage_modules) $(device_vendor_dlkm_exclusive_modules)
|
|
|
|
|
|
|
|
BOOT_KERNEL_MODULES += $(device_second_stage_modules)
|
|
|
|
|
2022-02-20 18:21:09 +01:00
|
|
|
# Properties
|
2023-06-25 14:38:27 +02:00
|
|
|
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/properties/system.prop
|
2022-02-20 18:21:09 +01:00
|
|
|
TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
|
|
|
|
|
2023-05-11 19:32:30 +02:00
|
|
|
# Screen density
|
|
|
|
TARGET_SCREEN_DENSITY := 560
|