-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
46 lines (33 loc) · 1016 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
40
41
42
43
44
45
46
#
# 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
# 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
# Vibrator
SOONG_CONFIG_xiaomiSm8350Vars_vibrator_use_effect_stream := true
# Include proprietary files
include vendor/xiaomi/haydn/BoardConfigVendor.mk
# Firmware
include vendor/xiaomi/haydn-firmware/BoardConfigVendor.mk
# Inherit from proprietary files for miuicamera
-include vendor/xiaomi/haydn-miuicamera/products/board.mk