Skip to content
Snippets Groups Projects
lineage_beckham.mk 1.94 KiB
Newer Older
Erfan Abdi's avatar
Erfan Abdi committed
#
# Copyright (C) 2017 The LineageOS Open Source 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 some common Lineage stuff.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)

$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)

# Device
Jan Dula's avatar
Jan Dula committed
$(call inherit-product, device/motorola/beckham/device.mk)
Erfan Abdi's avatar
Erfan Abdi committed

# A/B updater
AB_OTA_POSTINSTALL_CONFIG += \
    RUN_POSTINSTALL_system=true \
    POSTINSTALL_PATH_system=system/bin/otapreopt_script \
    FILESYSTEM_TYPE_system=ext4 \
    POSTINSTALL_OPTIONAL_system=true

PRODUCT_PACKAGES += \
    otapreopt_script \
    update_engine \
    update_engine_sideload \
    update_verifier

# The following modules are included in debuggable builds only.
PRODUCT_PACKAGES_DEBUG += \
    bootctl \
    update_engine_client

# Boot control HAL
PRODUCT_PACKAGES += \
    android.hardware.boot@1.0-impl.recovery \
Erfan Abdi's avatar
Erfan Abdi committed
    bootctrl.sdm660 \
    bootctrl.sdm660.recovery
Erfan Abdi's avatar
Erfan Abdi committed

# Device identifiers
Jan Dula's avatar
Jan Dula committed
PRODUCT_DEVICE := beckham
PRODUCT_NAME := lineage_beckham
Erfan Abdi's avatar
Erfan Abdi committed
PRODUCT_BRAND := motorola
Jan Dula's avatar
Jan Dula committed
PRODUCT_MODEL := Moto Z3 Play
PRODUCT_MANUFACTURER := motorola
Erfan Abdi's avatar
Erfan Abdi committed

PRODUCT_BUILD_PROP_OVERRIDES += \
    PRODUCT_NAME=beckham \
    PRIVATE_BUILD_DESC="beckham-user 9 PPWS29.131-27-1-15 4d8b92 release-keys"
Erfan Abdi's avatar
Erfan Abdi committed

BUILD_FINGERPRINT := motorola/beckham/beckham:9/PPWS29.131-27-1-15/4d8b92:user/release-keys