Alexander Winkowski 77999ac063
sm6250-common: Clean up rootdir
* Remove unused/duplicated parts
* Make changes to do without other scripts

Co-authored-by: Demon000 <demonsingur@gmail.com>
Change-Id: I8e758337488dc19ecb47ec1b583fba33ef05882d
2021-09-09 18:46:05 +02:00

49 lines
1.1 KiB
Makefile

#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
PRODUCT_BUILD_SUPER_PARTITION := false
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
PRODUCT_ENFORCE_RRO_TARGETS := *
# Enable project quotas and casefolding for emulated storage without sdcardfs
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Include GSI keys
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
# Setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
# AID/fs configs
PRODUCT_PACKAGES += \
fs_config_files
# Rootdir
PRODUCT_PACKAGES += \
init.qcom.early_boot.sh \
init.qcom.sh \
init.qti.chg_policy.sh
PRODUCT_PACKAGES += \
init.qcom.power.rc \
init.qcom.rc \
init.recovery.qcom.rc \
init.target.rc \
fstab.qcom \
ueventd.qcom.rc
# Inherit proprietary targets
$(call inherit-product, vendor/xiaomi/sm6250-common/sm6250-common-vendor.mk)