config: Allow forcing minimal/full reserved size

Change-Id: I7b3c258ad1597bb37bfc02aa8af80d12c0da198b
This commit is contained in:
Michael Bestas 2023-12-06 19:30:19 +02:00
parent c0250e3ab6
commit 2cd52ca80a
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -1,9 +1,13 @@
# SPDX-FileCopyrightText: 2023 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
ifeq ($(PRODUCT_VIRTUAL_AB_OTA),true)
BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE ?= true
endif
ifneq ($(WITH_GMS),true)
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT ?= -1
ifeq ($(PRODUCT_VIRTUAL_AB_OTA),true)
ifeq ($(BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE),true)
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1188036608
else
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1957691392