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

@ -1686,21 +1686,24 @@ 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
N2N_VERS=`grep N2N_VERSION ../../Makefile | head -1| cut -d "=" -f 2`

View File

@ -5,6 +5,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"
@ -18,6 +22,7 @@ else
fi
fi
fi
fi
APP=n2n
N2N_VERS=`grep N2N_VERSION ../../Makefile | head -1| cut -d "=" -f 2`