This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_sanders/BoardConfig.mk
2021-03-21 09:36:47 -03:00

56 lines
1.6 KiB
Makefile

# Copyright (C) 2020 The PixelExperience Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Inherit from motorola msm8953-common
-include device/motorola/msm8953-common/BoardConfigCommon.mk
DEVICE_PATH := device/motorola/sanders
# Assertions
TARGET_OTA_ASSERT_DEVICE := sanders
# Display
TARGET_SCREEN_DENSITY := 480
# Kernel
BOARD_KERNEL_SEPARATED_DT := true
BOARD_DTBTOOL_ARGS := --force-v3
BOARD_KERNEL_IMAGE_NAME := Image.gz
TARGET_KERNEL_CONFIG := sanders_defconfig
# Keymaster
TARGET_PROVIDES_KEYMASTER := true
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# NFC
NXP_CHIP_TYPE := PN551
# Partitions
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4294967296
BOARD_VENDORIMAGE_PARTITION_SIZE := 805306368
BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 33554432
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/device.prop
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
# inherit from the proprietary version
-include vendor/motorola/sanders/BoardConfigVendor.mk