foster: Use foster system iamge size if WITH_GMS_TV is set

* Allows us to conditionally drop sif support when TV GMS is
  included, which sif has no hope in fitting the full version
  of.

Change-Id: I4ad8ac851fc12d53622a107fe9ed0acf6c102067
This commit is contained in:
Nolen Johnson authored and Aaron Kling committed 2022-04-25 14:22:31 -05:00
1 parent 84b9382a62
commit d542885bb9
1 file changed
+8 -1
+8 -1
View File
@@ -19,7 +19,11 @@ BOARD_BOOTIMAGE_PARTITION_SIZE := 26738688
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 26767360
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
BOARD_USERDATAIMAGE_PARTITION_SIZE := 10099646976
ifeq ($(WITH_GMS_TV),true)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
else
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1616904192
endif
BOARD_VENDORIMAGE_PARTITION_SIZE := 379584512
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
@@ -28,7 +32,10 @@ TARGET_COPY_OUT_VENDOR := vendor
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
# Assert
TARGET_OTA_ASSERT_DEVICE := foster,darcy,jetson,loki,icosa,mdarcy,sif
TARGET_OTA_ASSERT_DEVICE := foster,darcy,jetson,loki,icosa,mdarcy
ifneq ($(WITH_GMS_TV),true)
TARGET_OTA_ASSERT_DEVICE := $(TARGET_OTA_ASSERT_DEVICE),sif
endif
# Boot image
BOARD_CUSTOM_BOOTIMG := true