android_recovery_motorola_rtwo/twrp_rtwo.mk
Nicholas Andrew 5439e444a0 rtwo: finalize Virtual A/B recovery support
Enable A/B OTA handling, add the QTI boot-control stack, correct slotted recovery partitions, and sanitize empty Virtual A/B state that blocks Format Data.
2026-06-28 19:58:01 -04:00

32 lines
1 KiB
Makefile

#
# Copyright (C) 2023 The Android Open Source Project
# Copyright (C) 2019-Present A-Team Digital Solutions
# SPDX-License-Identifier: Apache-2.0
#
# Release name
PRODUCT_RELEASE_NAME := rtwo
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Enable project quotas and casefolding for emulated storage without sdcardfs
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Inherit some common TWRP stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
# Inherit device configuration
$(call inherit-product, device/motorola/rtwo/device.mk)
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,device/motorola/rtwo/recovery/root,recovery/root)
PRODUCT_DEVICE := rtwo
PRODUCT_NAME := twrp_rtwo
PRODUCT_BRAND := motorola
PRODUCT_MODEL := Motorola Edge 40 Pro
PRODUCT_MANUFACTURER := motorola
# Virtual A/B OTA support
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)