platform_device_motorola_sm.../bengal.mk
Dhina17 889dc39dbd sm6225-common: Import config.fs from CodeLinaro
TAG: LA.UM.9.15.r1-05800-KAMORTA.QSSI12.0

Change-Id: I8815bb416d73ea39656a55ca25ac878373b7b6e6
2023-02-17 00:18:46 +05:30

95 lines
2.1 KiB
Makefile

#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Include GSI keys
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
dtbo \
product \
system \
system_ext \
vbmeta \
vbmeta_system \
vendor \
vendor_boot
PRODUCT_PACKAGES += \
update_engine \
update_engine_sideload \
update_verifier
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
# Bootctrl
PRODUCT_PACKAGES += \
android.hardware.boot@1.1-impl-qti \
android.hardware.boot@1.1-impl-qti.recovery \
android.hardware.boot@1.1-service
# Filesystem
PRODUCT_PACKAGES += \
fs_config_files
# Partitions
PRODUCT_BUILD_SUPER_PARTITION := false
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Rootdir
PRODUCT_PACKAGES += \
hardware_revisions.sh \
init.class_main.sh \
init.mdm.sh \
init.mmi.boot.sh \
init.mmi.laser.sh \
init.mmi.touch.sh \
init.oem.fingerprint2.sh \
init.oem.hw.sh \
init.qcom.early_boot.sh \
init.qcom.post_boot.sh \
init.qcom.sh \
init.qti.dcvs.sh \
init.qti.early_init.sh \
fstab.qcom \
init.mmi.charge_only.rc \
init.mmi.chipset.rc \
init.mmi.debug.rc \
init.mmi.overlay.rc \
init.mmi.rc \
init.qcom.factory.rc \
init.qcom.rc \
init.recovery.qcom.rc \
init.target.rc \
ueventd.qcom.rc \
# Shipping API level
BOARD_API_LEVEL := 30
BOARD_SHIPPING_API_LEVEL := 30
PRODUCT_SHIPPING_API_LEVEL := 31
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Vendor ramdisk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom_ramdisk:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom