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
parent 70874ebb27
commit 9716bf8591
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 device/phh/treble/board-base.mk
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
endif
TARGET_USES_64_BIT_BINDER := true

View File

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

View File

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

View File

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

View File

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