forked from Official-Ayrton990/device_xiaomi_lmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
38 lines (27 loc) · 866 Bytes
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/xiaomi/lmi
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
# Inherit from sm8250-common
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
# Display
TARGET_SCREEN_DENSITY := 440
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_lmi
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_lmi
# Kernel
TARGET_KERNEL_CONFIG := vendor/lmi_defconfig
# OTA assert
TARGET_OTA_ASSERT_DEVICE := lmi,lmipro
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Releasetools
TARGET_RELEASETOOLS_EXTENSIONS := $(DEVICE_PATH)
# Inherit from the proprietary version
include vendor/xiaomi/lmi/BoardConfigVendor.mk