sweet: Commonize dynamic partition flags
Change-Id: I082ab4fa34c79467f12ecf9c6e7705842192571a
This commit is contained in:
parent
c8b75b1070
commit
1578028ba1
@ -36,34 +36,8 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 134217728
|
||||
BOARD_SUPER_PARTITION_SIZE := 9126805504
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 114980532224
|
||||
|
||||
BOARD_SUPER_PARTITION_GROUPS := qti_dynamic_partitions
|
||||
BOARD_QTI_DYNAMIC_PARTITIONS_PARTITION_LIST := odm product system system_ext vendor
|
||||
BOARD_QTI_DYNAMIC_PARTITIONS_SIZE := 9122611200 # (BOARD_SUPER_PARTITION_SIZE - 4194304) 4MiB overhead
|
||||
|
||||
BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
|
||||
BOARD_ODMIMAGE_PARTITION_RESERVED_SIZE := 104857600
|
||||
ifeq ($(WITH_GMS),true)
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 104857600
|
||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 104857600
|
||||
else
|
||||
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT := -1
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 1887436800
|
||||
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := -1
|
||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 1887436800
|
||||
endif
|
||||
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 104857600
|
||||
BOARD_VENDORIMAGE_PARTITION_RESERVED_SIZE := 104857600
|
||||
|
||||
TARGET_COPY_OUT_ODM := odm
|
||||
TARGET_COPY_OUT_PRODUCT := product
|
||||
TARGET_COPY_OUT_SYSTEM_EXT := system_ext
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
|
||||
# Properties
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user