From dd2fd573fab788ccae9a40d237341c12c2dea8c7 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 16 Feb 2018 21:41:24 +0100 Subject: [PATCH] Use a phhgsi_xxx device instead of Treble standard ones, to be able to increase system.img --- generate.sh | 2 +- phhgsi_arm64_a/BoardConfig.mk | 3 +++ phhgsi_arm64_ab/BoardConfig.mk | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 phhgsi_arm64_a/BoardConfig.mk create mode 100644 phhgsi_arm64_ab/BoardConfig.mk diff --git a/generate.sh b/generate.sh index a17905e..b097ef6 100644 --- a/generate.sh +++ b/generate.sh @@ -46,7 +46,7 @@ include build/make/target/product/treble_common.mk $apps_script PRODUCT_NAME := $target -PRODUCT_DEVICE := generic_arm64_$part +PRODUCT_DEVICE := phhgsi_arm64_$part PRODUCT_BRAND := Android PRODUCT_MODEL := Phh-Treble $apps_name diff --git a/phhgsi_arm64_a/BoardConfig.mk b/phhgsi_arm64_a/BoardConfig.mk new file mode 100644 index 0000000..679dec4 --- /dev/null +++ b/phhgsi_arm64_a/BoardConfig.mk @@ -0,0 +1,3 @@ +include build/make/target/board/generic_arm64_a/BoardConfig.mk + +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648 diff --git a/phhgsi_arm64_ab/BoardConfig.mk b/phhgsi_arm64_ab/BoardConfig.mk new file mode 100644 index 0000000..eba9e09 --- /dev/null +++ b/phhgsi_arm64_ab/BoardConfig.mk @@ -0,0 +1,3 @@ +include build/make/target/board/generic_arm64_ab/BoardConfig.mk + +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648