From 24071be3674f158744ca3fd559fd67f73a9c2216 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Tue, 28 Sep 2021 17:07:00 -0400 Subject: [PATCH] g12: Reserve space for GApps * Guard this with WITH_GMS to allow people to build GApps inline. Change-Id: I25802c5f14f1353a8d6f761bb256a6b7dfb63e8b --- BoardConfigCommon.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 4563dca..bc8d79c 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -76,6 +76,14 @@ BOARD_AMLOGIC_DYNAMIC_PARTITIONS_PARTITION_LIST := odm product system system_ext BOARD_AMLOGIC_DYNAMIC_PARTITIONS_SIZE := 1673527296 # (BOARD_SUPER_PARTITION_SIZE - "Reasonable Overhead of 4 MiB" 4194304) BOARD_SUPER_PARTITION_GROUPS := amlogic_dynamic_partitions +# Reservations +ifneq ($(WITH_GMS),true) +BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 15000000 +BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 626000000 +BOARD_SYSTEM_EXTIMAGE_PARTITION_RESERVED_SIZE := 15000000 +endif +BOARD_VENDORIMAGE_PARTITION_RESERVED_SIZE := 5000000 + # Sizes BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 BOARD_CACHEIMAGE_PARTITION_SIZE := 838860800 -- 2.20.1