Be compatible with AOSP master BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE

In that case, don't enforce system image size
We will need to implement after build checks to ensure we still work on
older devices
This commit is contained in:
Pierre-Hugues Husson 2019-01-17 15:49:46 +01:00 committed by Pierre-Hugues Husson
parent b9a1e2ec5c
commit 5a9c96ec32
5 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
include build/make/target/board/generic_arm_a/BoardConfig.mk include build/make/target/board/generic_arm_a/BoardConfig.mk
include device/phh/treble/board-base.mk include device/phh/treble/board-base.mk
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
endif
TARGET_USES_64_BIT_BINDER := true TARGET_USES_64_BIT_BINDER := true

View File

@ -1,4 +1,6 @@
include build/make/target/board/generic_arm64_a/BoardConfig.mk include build/make/target/board/generic_arm64_a/BoardConfig.mk
include device/phh/treble/board-base.mk include device/phh/treble/board-base.mk
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
endif

View File

@ -1,4 +1,6 @@
include build/make/target/board/generic_arm64_ab/BoardConfig.mk include build/make/target/board/generic_arm64_ab/BoardConfig.mk
include device/phh/treble/board-base.mk include device/phh/treble/board-base.mk
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
endif

View File

@ -1,4 +1,6 @@
include build/make/target/board/generic_arm_a/BoardConfig.mk include build/make/target/board/generic_arm_a/BoardConfig.mk
include device/phh/treble/board-base.mk include device/phh/treble/board-base.mk
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1313583104 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1313583104
endif

View File

@ -1,4 +1,6 @@
include build/make/target/board/generic_arm_ab/BoardConfig.mk include build/make/target/board/generic_arm_ab/BoardConfig.mk
include device/phh/treble/board-base.mk include device/phh/treble/board-base.mk
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824
endif