diff options
author | Bo Hu <bohu@google.com> | 2023-01-18 11:07:37 -0800 |
---|---|---|
committer | Bo Hu <bohu@google.com> | 2023-01-18 11:09:03 -0800 |
commit | 7fb8a697aaee15f88e553e4c0b8303190461a188 (patch) | |
tree | b6f742de81a12d9c084b6d012b53c79a6220e4ab | |
parent | 854afb66739b2827c911d7cf658c7cd3757a9331 (diff) | |
download | build-7fb8a697aaee15f88e553e4c0b8303190461a188.tar.gz |
emulator: do not enforce 8G system image partition
Only use 8G as default size, when product does not specify
the system image sizes.
Bug: 265440010
Test: build and check sizes
Change-Id: I8da862482600d06eda9b84d0cc5db65f713067b5
-rw-r--r-- | target/board/BoardConfigEmuCommon.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/board/BoardConfigEmuCommon.mk b/target/board/BoardConfigEmuCommon.mk index 5acbe7f136..7a07d70bba 100644 --- a/target/board/BoardConfigEmuCommon.mk +++ b/target/board/BoardConfigEmuCommon.mk @@ -34,7 +34,7 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true) BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true # 8G + 8M - BOARD_SUPER_PARTITION_SIZE := 8598323200 + BOARD_SUPER_PARTITION_SIZE ?= 8598323200 BOARD_SUPER_PARTITION_GROUPS := emulator_dynamic_partitions ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) @@ -57,7 +57,7 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true) endif # 8G - BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE := 8589934592 + BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE ?= 8589934592 # in build environment to speed up make -j ifeq ($(QEMU_DISABLE_AVB),true) |