2023-11-22 14:50:08 +01:00
|
|
|
# SPDX-FileCopyrightText: 2023 The LineageOS Project
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-12-06 18:30:19 +01:00
|
|
|
ifeq ($(PRODUCT_VIRTUAL_AB_OTA),true)
|
|
|
|
BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE ?= true
|
|
|
|
endif
|
|
|
|
|
2023-11-22 14:50:08 +01:00
|
|
|
ifneq ($(WITH_GMS),true)
|
|
|
|
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT ?= -1
|
2024-05-22 22:55:15 +02:00
|
|
|
|
2023-12-06 18:30:19 +01:00
|
|
|
ifeq ($(BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE),true)
|
2023-11-22 14:50:08 +01:00
|
|
|
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1188036608
|
2024-05-22 22:55:15 +02:00
|
|
|
else # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
|
2023-11-22 14:50:08 +01:00
|
|
|
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1957691392
|
2024-05-22 22:55:15 +02:00
|
|
|
endif # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
|
|
|
|
|
2023-11-22 14:50:08 +01:00
|
|
|
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT ?= -1
|
|
|
|
BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT ?= -1
|
2024-05-22 22:55:15 +02:00
|
|
|
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
|
2023-11-22 14:50:08 +01:00
|
|
|
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
|
2024-05-22 22:55:15 +02:00
|
|
|
|
|
|
|
endif # WITH_GMS
|