Files
device_xiaomi_polaris/BoardConfig.mk
Anton Hansson c05b5dc1eb polaris: Use TARGET_SCREEN_DENSITY
This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.

Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2
2020-03-07 19:37:51 +00:00

39 lines
790 B
Makefile

#
# Copyright (C) 2018-2020 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_CONFIG := polaris_defconfig
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# NFC
TARGET_USES_NQ_NFC := true
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# Inherit from the proprietary version
-include vendor/xiaomi/polaris/BoardConfigVendor.mk