-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
41 lines (30 loc) · 974 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
# Copyright (C) 2019-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
-include device/lenovo/sm8150-common/BoardConfigCommon.mk
BOARD_VENDOR := lenovo
DEVICE_PATH := device/lenovo/zippo
# Assertions
TARGET_BOARD_INFO_FILE ?= $(DEVICE_PATH)/board-info.txt
TARGET_OTA_ASSERT_DEVICE := zippo
# FM
BOARD_HAVE_QCOM_FM := true
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Kernel
ifeq ($(TARGET_PREBUILT_KERNEL),)
TARGET_KERNEL_CONFIG := lineage_zippo_defconfig
TARGET_KERNEL_CLANG_COMPILE := true
TARGET_KERNEL_SOURCE := kernel/lenovo/sm8150
endif
# Fingerprint
SOONG_CONFIG_LENOVO_MSMNILE_FOD_POS_X = 450
SOONG_CONFIG_LENOVO_MSMNILE_FOD_POS_Y = 1916
SOONG_CONFIG_LENOVO_MSMNILE_FOD_SIZE = 178
# Power
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/touch/tp_dev/gesture_on"
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
# Inherit from the proprietary version
-include vendor/lenovo/zippo/BoardConfigVendor.mk