From 63e74ccc6a7f4f980ddc476ed74ef1d7738ad50a Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 26 Jan 2019 09:33:24 +0100 Subject: [PATCH] Added support for ARM64 platforms --- packages/debian/configure | 19 +++++++++++-------- packages/debian/configure.in | 17 +++++++++++------ 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/packages/debian/configure b/packages/debian/configure index d04de1c..bbcc4bd 100755 --- a/packages/debian/configure +++ b/packages/debian/configure @@ -1687,17 +1687,20 @@ SHORT_MACHINE=`uname -m | cut -b1-3` if test $MACHINE = "x86_64"; then EXTN="amd64" else - if test $SHORT_MACHINE = "arm"; then - EXTN="armhf" + if test $SHORT_MACHINE = "aar"; then + EXTN="arm64" EXTRA_DEPS="" - LIBRRD="librrd8, " else - if test $SHORT_MACHINE = "mip"; then - EXTN="mips" + if test $SHORT_MACHINE = "arm"; then + EXTN="armhf" EXTRA_DEPS="" - LIBRRD="" - else - EXTN="i386" + else + if test $SHORT_MACHINE = "mip"; then + EXTN="mips" + EXTRA_DEPS="" + else + EXTN="i386" + fi fi fi fi diff --git a/packages/debian/configure.in b/packages/debian/configure.in index bbea7a3..5af61a4 100644 --- a/packages/debian/configure.in +++ b/packages/debian/configure.in @@ -6,15 +6,20 @@ SHORT_MACHINE=`uname -m | cut -b1-3` if test $MACHINE = "x86_64"; then EXTN="amd64" else - if test $SHORT_MACHINE = "arm"; then - EXTN="armhf" + if test $SHORT_MACHINE = "aar"; then + EXTN="arm64" EXTRA_DEPS="" else - if test $SHORT_MACHINE = "mip"; then - EXTN="mips" + if test $SHORT_MACHINE = "arm"; then + EXTN="armhf" EXTRA_DEPS="" - else - EXTN="i386" + else + if test $SHORT_MACHINE = "mip"; then + EXTN="mips" + EXTRA_DEPS="" + else + EXTN="i386" + fi fi fi fi