mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2022 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
# 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
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_vendor=true \
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
PRODUCT_PACKAGES += \
|
|
checkpoint_gc \
|
|
otapreopt_script
|
|
|
|
# Enable virtual A/B OTA
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
|
|
|
|
# AVB
|
|
PRODUCT_PACKAGES += \
|
|
q-gsi.avbpubkey \
|
|
r-gsi.avbpubkey \
|
|
s-gsi.avbpubkey
|
|
|
|
# Update engine
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_engine_sideload \
|
|
update_verifier
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
update_engine_client
|
|
|
|
# Inherit the proprietary files
|
|
$(call inherit-product, vendor/xiaomi/sm6375-common/sm6375-common-vendor.mk)
|