android_device_xiaomi_lisa/BoardConfig.mk

48 lines
1.1 KiB
Makefile
Raw Permalink Normal View History

#
# 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