-
Notifications
You must be signed in to change notification settings - Fork 2
/
BoardConfig.mk
39 lines (28 loc) · 950 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
39
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm8250-common
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/alioth
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
BUILD_BROKEN_DUP_RULES := true
# Board
TARGET_BOARD_INFO_FILE := $(DEVICE_PATH)/board-info.txt
# Display
TARGET_SCREEN_DENSITY := 420
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_alioth
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_alioth
# Kernel
TARGET_KERNEL_CONFIG += vendor/alioth_defconfig
# OTA assert
TARGET_OTA_ASSERT_DEVICE := alioth,aliothin
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
# Inherit from proprietary files for miuicamera
-include vendor/xiaomi/alioth-miuicamera/products/board.mk
# Inherit from the proprietary version
include vendor/xiaomi/alioth/BoardConfigVendor.mk