android_device_xiaomi_whyred/BoardConfig.mk
Sebastiano Barezzi c6c621068b
whyred: Use kernel config fragment
Change-Id: If6a3eb00e358d0c5eeb610aacb288caf34e27e13
2023-06-26 05:21:11 +03:00

41 lines
869 B
Makefile

#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sdm660-common
include device/xiaomi/sdm660-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/whyred
# Boot animation
TARGET_SCREEN_HEIGHT := 2160
TARGET_SCREEN_WIDTH := 1080
# Crypto
TARGET_HW_DISK_ENCRYPTION := true
# Display
TARGET_SCREEN_DENSITY := 440
# Kernel
TARGET_KERNEL_CONFIG += xiaomi/whyred.config
# Manifest
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
BOARD_VENDORIMAGE_PARTITION_SIZE := 838860800
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# Security patch level
VENDOR_SECURITY_PATCH := 2018-11-01
# Inherit the proprietary files
include vendor/xiaomi/whyred/BoardConfigVendor.mk