-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdevice.mk
More file actions
45 lines (38 loc) · 1.09 KB
/
Copy pathdevice.mk
File metadata and controls
45 lines (38 loc) · 1.09 KB
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
41
42
43
44
45
# A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
dtbo \
boot \
vendor_dlkm \
init_boot \
system \
product \
system_ext \
vbmeta \
system_dlkm \
vendor \
vbmeta_system \
odm \
vendor_boot
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=erofs \
POSTINSTALL_OPTIONAL_system=true
# Boot control
PRODUCT_PACKAGES += \
android.hardware.boot@1.2-impl-qti.recovery \
bootctrl.sun.recovery
# fastbootd
PRODUCT_PACKAGES += \
android.hardware.fastboot@1.1-impl-mock \
fastbootd
# Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,device/samsung/pa1q/prebuilt/modules,$(TARGET_COPY_OUT_VENDOR_RAMDISK)/lib/modules) \
$(LOCAL_PATH)/prebuilt/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom