-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBoardConfig.mk
More file actions
49 lines (35 loc) · 1.04 KB
/
BoardConfig.mk
File metadata and controls
49 lines (35 loc) · 1.04 KB
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
40
41
42
43
44
45
46
47
48
49
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/xiaomi/haydn
# Inherit from sm8350-common
include device/xiaomi/sm8350-common/BoardConfigCommon.mk
# Assert
TARGET_OTA_ASSERT_DEVICE := haydn,haydnin
# Board
TARGET_BOOTLOADER_BOARD_NAME := haydn
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/hidl/manifest.xml
# Init
TARGET_RECOVERY_DEVICE_MODULES := libinit_haydn
# Kernel
TARGET_KERNEL_CONFIG += vendor/haydn_QGKI.config
# Kernel modules
BOOT_KERNEL_MODULES := \
focaltech_touch.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_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Include proprietary files
include vendor/xiaomi/haydn/BoardConfigVendor.mk
# Firmware
include vendor/xiaomi/haydn-firmware/BoardConfigVendor.mk
# Inherit from proprietary files for Leica Camera
-include vendor/xiaomi/haydn-miuicamera/products/board.mk