config: BoardConfigReservedSize: Add ATV reserved sizes

Change-Id: I9947ce23e5bc85652329279eb2cdd27e10ed79e1
This commit is contained in:
Nolen Johnson 2024-05-22 16:55:15 -04:00
parent 0b86619dc5
commit de2ff1dcd8

View file

@ -7,13 +7,29 @@ endif
ifneq ($(WITH_GMS),true)
BOARD_PRODUCTIMAGE_EXTFS_INODE_COUNT ?= -1
ifeq ($(BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE),true)
ifeq ($(PRODUCT_IS_ATV),true)
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 450000000
else # PRODUCT_IS_ATV
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1188036608
else
endif # PRODUCT_IS_ATV
else # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
ifeq ($(PRODUCT_IS_ATV),true)
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 470000000
else # PRODUCT_IS_ATV
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE ?= 1957691392
endif
endif # PRODUCT_IS_ATV
endif # BOARD_PRODUCTIMAGE_MINIMAL_PARTITION_RESERVED_SIZE
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT ?= -1
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
ifeq ($(PRODUCT_IS_ATV),true)
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 40000000
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 27000000
else # PRODUCT_IS_ATV
BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT ?= -1
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE ?= 94371840
endif
endif # PRODUCT_IS_ATV
endif # WITH_GMS