From 313c678c189044b9a91a78d16a2762ad514f5979 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 13 Nov 2018 22:25:10 +0100 Subject: [PATCH] Add phhgsi_a64_a for arm32 devices with 64bits binder --- generate.sh | 11 +++++++---- phhgsi_a64_a/BoardConfig.mk | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 phhgsi_a64_a/BoardConfig.mk diff --git a/generate.sh b/generate.sh index 1811286..c347141 100644 --- a/generate.sh +++ b/generate.sh @@ -16,7 +16,7 @@ echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk for part in a ab;do for apps in vanilla gapps foss gapps-go;do - for arch in arm64 arm;do + for arch in arm64 arm a64;do for su in yes no;do apps_suffix="" apps_script="" @@ -43,9 +43,12 @@ for part in a ab;do apps_script='' apps_name="vanilla" fi - if [ "$arch" == "arm" ];then - vndk="vndk-binder32.mk" - fi + if [ "$arch" == "arm" ];then + vndk="vndk-binder32.mk" + fi + if [ "$arch" == "a64" ];then + vndk="vndk32.mk" + fi su_suffix='N' if [ "$su" == "yes" ];then diff --git a/phhgsi_a64_a/BoardConfig.mk b/phhgsi_a64_a/BoardConfig.mk new file mode 100644 index 0000000..221e881 --- /dev/null +++ b/phhgsi_a64_a/BoardConfig.mk @@ -0,0 +1,5 @@ +include build/make/target/board/generic_arm_a/BoardConfig.mk +include device/phh/treble/board-base.mk + +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000 +TARGET_USES_64_BIT_BINDER := true