android_recovery_motorola_rtwo/device.mk

33 lines
805 B
Makefile
Raw Normal View History

# Copyright (C) 2024 The Android Open Source Project
# Copyright (C) 2024 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
LOCAL_PATH := device/motorola/rtwo
# A/B
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
# Boot control HAL
PRODUCT_PACKAGES += \
android.hardware.boot@1.0-impl \
android.hardware.boot@1.0-service
PRODUCT_PACKAGES += \
bootctrl.kalama
PRODUCT_STATIC_BOOT_CONTROL_HAL := \
bootctrl.kalama \
libgptutils \
libz \
libcutils
PRODUCT_PACKAGES += \
otapreopt_script \
cppreopts.sh \
update_engine \
update_verifier \
update_engine_sideload