Added support for ARM64 platforms

This commit is contained in:
Luca Deri 2019-01-26 09:33:24 +01:00
parent a96237f83d
commit 63e74ccc6a
2 changed files with 22 additions and 14 deletions

View File

@ -1687,19 +1687,22 @@ SHORT_MACHINE=`uname -m | cut -b1-3`
if test $MACHINE = "x86_64"; then
EXTN="amd64"
else
if test $SHORT_MACHINE = "aar"; then
EXTN="arm64"
EXTRA_DEPS=""
else
if test $SHORT_MACHINE = "arm"; then
EXTN="armhf"
EXTRA_DEPS=""
LIBRRD="librrd8, "
else
if test $SHORT_MACHINE = "mip"; then
EXTN="mips"
EXTRA_DEPS=""
LIBRRD=""
else
EXTN="i386"
fi
fi
fi
fi
APP=n2n

View File

@ -6,6 +6,10 @@ SHORT_MACHINE=`uname -m | cut -b1-3`
if test $MACHINE = "x86_64"; then
EXTN="amd64"
else
if test $SHORT_MACHINE = "aar"; then
EXTN="arm64"
EXTRA_DEPS=""
else
if test $SHORT_MACHINE = "arm"; then
EXTN="armhf"
EXTRA_DEPS=""
@ -17,6 +21,7 @@ else
EXTN="i386"
fi
fi
fi
fi
APP=n2n