-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice.mk
40 lines (33 loc) · 856 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
DEVICE_PATH := device/vivo/PD2238
# API
PRODUCT_SHIPPING_API_LEVEL := 31
# A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
system \
product \
vendor \
odm_dlkm \
vendor_dlkm \
vbmeta \
vbmeta_system \
vbmeta_vendor
PRODUCT_PACKAGES += \
update_engine \
update_engine_sideload \
update_verifier \
checkpoint_gc
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/mtk_plpath_utils \
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
# Dynamic
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)