Files
android_device_samsung_sm87…/common.mk
chaptsand 9422979f9c sm8550-common: Import Samsung specific init scripts from S9160ZHU1AWCA
Change-Id: I210ba149729bac8bc84020347c734be3c8d0d2a7
2023-10-06 10:57:46 +08:00

62 lines
1.6 KiB
Makefile

#
# Copyright (C) 2023 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)
# Enforce generic ramdisk allow list
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
# Enable virtual AB with vendor ramdisk
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
# Setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.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
# Init
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
PRODUCT_PACKAGES += \
fstab.qcom \
init.class_main.sh \
init.qcom.early_boot.sh \
init.qcom.post_boot.sh \
init.qcom.rc \
init.qcom.sh \
init.recovery.qcom.rc \
init.target.rc \
ueventd-odm.rc \
ueventd.qcom.rc
PRODUCT_PACKAGES += \
init.samsung.bsp.rc \
init.samsung.connector.rc \
init.samsung.display.rc \
init.samsung.dp.rc \
init.samsung.power.rc \
init.samsung.rc
# Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true