forked from jjpprrrr/device_xiaomi_polaris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardConfig.mk
43 lines (32 loc) · 1.05 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
#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sdm845-common
-include device/xiaomi/sdm845-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/polaris
# Assert
TARGET_OTA_ASSERT_DEVICE := polaris
# Display
TARGET_SCREEN_DENSITY := 440
# Kernel
TARGET_KERNEL_SOURCE := kernel/xiaomi/polaris
TARGET_KERNEL_CONFIG := polaris_defconfig
TARGET_KERNEL_CLANG_VERSION := prelude
KERNEL_TOOLCHAIN := $(shell pwd)/prebuilts/clang/host/linux-x86/clang-prelude/bin
KERNEL_SUPPORTS_LLVM_TOOLS := true
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
BOARD_USES_METADATA_PARTITION := true
# Properties
TARGET_PRODUCT_PROP+= $(DEVICE_PATH)/product.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# Sepolicy
#BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
# Inherit from the proprietary version
-include vendor/xiaomi/polaris/BoardConfigVendor.mk