2021-07-09 13:34:30 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2021 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2018-10-02 07:51:03 -04:00
|
|
|
|
2019-04-08 06:28:48 -04:00
|
|
|
# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
|
2019-05-18 08:37:03 -04:00
|
|
|
# Enable updating of APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2021-07-10 07:17:56 -04:00
|
|
|
# Inherit from sm6150-common
|
|
|
|
$(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk)
|
|
|
|
|
2021-07-10 07:14:38 -04:00
|
|
|
# API level, the device has been commercially launched on
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 30
|
|
|
|
|
2021-07-10 03:00:09 -04:00
|
|
|
# Fstab
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
|
|
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.qcom
|
|
|
|
|
2021-03-14 13:21:54 -04:00
|
|
|
# Partitions
|
|
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
2018-10-02 07:51:03 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|
2021-07-10 07:14:10 -04:00
|
|
|
|
|
|
|
# Call the proprietary setup
|
|
|
|
$(call inherit-product, vendor/xiaomi/sweet/sweet-vendor.mk)
|