-
Notifications
You must be signed in to change notification settings - Fork 10
/
BoardConfigOmni.mk
49 lines (38 loc) · 1.32 KB
/
BoardConfigOmni.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
47
48
49
# Inline kernel
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
TARGET_KERNEL_SOURCE := kernel/huawei/angler
TARGET_KERNEL_CONFIG := angler_defconfig
TARGET_KERNEL_ARCH := arm64
TARGET_KERNEL_HEADER_ARCH := arm64
TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android-
TARGET_USES_UNCOMPRESSED_KERNEL := true
TARGET_COMPILE_WITH_MSM_KERNEL := true
# Audio
AUDIO_FEATURE_ENABLED_DSM_FEEDBACK := true
# Camera
BOARD_USES_AOSP_CAMERA := true
# Use device's audio_effects.conf
TARGET_USE_DEVICE_AUDIO_EFFECTS_CONF := true
# Ignore vendor audio_effects.conf
TARGET_IGNORE_VENDOR_AUDIO_EFFECTS_CONF := true
# Enable vendor image symlink
BOARD_NEEDS_VENDORIMAGE_SYMLINK := true
# Skip keymaster compilation
TARGET_PROVIDES_KEYMASTER := true
#QC time services
BOARD_USES_QC_TIME_SERVICES := true
# Needed for VoLTE
AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
# Increase coldboot timeout
TARGET_INCREASES_COLDBOOT_TIMEOUT := true
# not really for recovery... but healthd still uses it
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\"
# TWRP
TW_THEME := portrait_hdpi
RECOVERY_GRAPHICS_USE_LINELENGTH := true
BOARD_SUPPRESS_SECURE_ERASE := true
RECOVERY_SDCARD_ON_DATA := true
BOARD_HAS_NO_REAL_SDCARD := true
TW_INCLUDE_CRYPTO := true
TW_BRIGHTNESS_PATH := "/sys/class/leds/lcd-backlight/brightness"
TARGET_RECOVERY_QCOM_RTC_FIX := true