-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdevice.mk
40 lines (29 loc) · 1003 Bytes
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Copyright (C) 2023 The Android Open Source Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Configure base.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
# Configure core_64_bit.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
# Configure virtual_ab_ota launch_with_vendor_ramdisk.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
# Configure emulated_storage.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Configure twrp common.mk
$(call inherit-product, vendor/twrp/config/common.mk)
PRODUCT_PACKAGES += \
bootctrl.xiaomi_sm7475.recovery \
# SHIPPING API
PRODUCT_SHIPPING_API_LEVEL := 31
# VNDK API
PRODUCT_TARGET_VNDK_VERSION := 32
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
# Required modules
TWRP_REQUIRED_MODULES += \
miui_prebuilt