4d23c197b2
Change-Id: Ib00b3817eece7bb8ff0acafb3d545e4324d7c26d
38 lines
1015 B
Makefile
38 lines
1015 B
Makefile
#
|
|
# Copyright (C) 2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Inherit from sm6150-common
|
|
$(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk)
|
|
|
|
# API level, the device has been commercially launched on
|
|
PRODUCT_SHIPPING_API_LEVEL := 30
|
|
|
|
# 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
|
|
|
|
# Overlay
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay
|
|
|
|
# Partitions
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|
|
|
|
# Call the proprietary setup
|
|
$(call inherit-product, vendor/xiaomi/sweet/sweet-vendor.mk)
|