forked from xiaomi-sdm660/android_device_xiaomi_lavender
-
Notifications
You must be signed in to change notification settings - Fork 2
/
BoardConfig.mk
46 lines (36 loc) · 1.19 KB
/
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) 2018 The LineageOS Project
# Copyright (C) 2018-2021 Xioami-SDM660 Project
#
# SPDX-License-Identifier: Apache-2.0
#
include device/xiaomi/sdm660-common/BoardConfigCommon.mk
# AVB
BOARD_AVB_ENABLE := true
BOARD_AVB_RECOVERY_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_RECOVERY_ALGORITHM := SHA256_RSA2048
BOARD_AVB_RECOVERY_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
# Audio
AUDIO_FEATURE_ELLIPTIC_ULTRASOUND_SUPPORT := true
# Camera
TARGET_TS_MAKEUP := true
TARGET_USES_QTI_CAMERA_DEVICE := true
BOARD_QTI_CAMERA_32BIT_ONLY := true
MALLOC_SVELTE_FOR_LIBC32 := true
USE_DEVICE_SPECIFIC_CAMERA := true
$(call project-set-path,qcom-camera,$(DEVICE_PATH)/camera)
# Device Path
DEVICE_PATH := device/xiaomi/lavender
# DT2W
TARGET_TAP_TO_WAKE_NODE := "/sys/touchpanel/double_tap"
# Density
TARGET_SCREEN_DENSITY := 420
# Kernel
TARGET_KERNEL_CONFIG := lavender_defconfig
# Manifest
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/framework_compatibility_matrix.xml
# WLAN MAC
WLAN_MAC_SYMLINK := true