android_device_xiaomi_lisa/BoardConfig.mk
Arian e1380e6f24
lisa: Include MiuiCamera
Change-Id: I3154d9328fbcd17a25c88ab6c932af171c98f625
2024-10-12 19:21:34 +05:30

48 lines
1.1 KiB
Makefile

#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/xiaomi/lisa
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
# Inherit from sm8350-common
include device/xiaomi/sm8350-common/BoardConfigCommon.mk
# Board
TARGET_BOOTLOADER_BOARD_NAME := lisa
# Kernel
TARGET_KERNEL_CONFIG += vendor/lisa_QGKI.config
# Kernel modules
BOOT_KERNEL_MODULES := \
goodix_core.ko \
hwid.ko \
msm_drm.ko \
xiaomi_touch.ko
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(BOOT_KERNEL_MODULES)
# Partitions
BOARD_DTBOIMG_PARTITION_SIZE := 25165824
# Properties
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop
# Inherit MiuiCamera Makefile
-include vendor/xiaomi/miuicamera-$(PRODUCT_DEVICE)/BoardConfig.mk
# Include proprietary files
include vendor/xiaomi/lisa/BoardConfigVendor.mk