2022-09-16 11:39:23 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2022 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
DEVICE_PATH := device/xiaomi/lisa
|
2024-08-05 20:09:14 -04:00
|
|
|
BUILD_BROKEN_DUP_RULES := true
|
|
|
|
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
|
|
|
|
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
|
|
|
|
|
|
|
|
# Camera
|
|
|
|
TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED := true
|
|
|
|
TARGET_INCLUDES_MIUI_CAMERA := true
|
|
|
|
MALLOC_SVELTE_FOR_LIBC32 := true
|
|
|
|
|
|
|
|
# Miui-Cam
|
|
|
|
TARGET_INCLUDES_MIUI_CAMERA := true
|
2022-09-16 11:39:23 -04:00
|
|
|
|
|
|
|
# Inherit from sm8350-common
|
|
|
|
include device/xiaomi/sm8350-common/BoardConfigCommon.mk
|
|
|
|
|
2021-11-07 13:17:23 -05:00
|
|
|
# Board
|
|
|
|
TARGET_BOOTLOADER_BOARD_NAME := lisa
|
|
|
|
|
2022-09-11 16:08:03 -04:00
|
|
|
# Kernel
|
|
|
|
TARGET_KERNEL_CONFIG += vendor/lisa_QGKI.config
|
|
|
|
|
2022-03-02 19:01:35 -05:00
|
|
|
# Kernel modules
|
|
|
|
BOOT_KERNEL_MODULES := \
|
|
|
|
goodix_core.ko \
|
|
|
|
hwid.ko \
|
2021-01-06 12:30:06 -05:00
|
|
|
msm_drm.ko \
|
2022-03-02 19:01:35 -05:00
|
|
|
xiaomi_touch.ko
|
|
|
|
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(BOOT_KERNEL_MODULES)
|
|
|
|
|
2021-10-13 17:50:11 -04:00
|
|
|
# Partitions
|
|
|
|
BOARD_DTBOIMG_PARTITION_SIZE := 25165824
|
|
|
|
|
2024-01-08 02:05:38 -05:00
|
|
|
# Properties
|
|
|
|
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
|
|
|
|
|
2023-07-09 17:07:33 -04:00
|
|
|
# Inherit MiuiCamera Makefile
|
|
|
|
-include vendor/xiaomi/miuicamera-$(PRODUCT_DEVICE)/BoardConfig.mk
|
|
|
|
|
2022-09-16 11:39:23 -04:00
|
|
|
# Include proprietary files
|
|
|
|
include vendor/xiaomi/lisa/BoardConfigVendor.mk
|