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,17 +1687,20 @@ SHORT_MACHINE=`uname -m | cut -b1-3`
if test $MACHINE = "x86_64"; then if test $MACHINE = "x86_64"; then
EXTN="amd64" EXTN="amd64"
else else
if test $SHORT_MACHINE = "arm"; then if test $SHORT_MACHINE = "aar"; then
EXTN="armhf" EXTN="arm64"
EXTRA_DEPS="" EXTRA_DEPS=""
LIBRRD="librrd8, "
else else
if test $SHORT_MACHINE = "mip"; then if test $SHORT_MACHINE = "arm"; then
EXTN="mips" EXTN="armhf"
EXTRA_DEPS="" EXTRA_DEPS=""
LIBRRD="" else
else if test $SHORT_MACHINE = "mip"; then
EXTN="i386" EXTN="mips"
EXTRA_DEPS=""
else
EXTN="i386"
fi
fi fi
fi fi
fi fi

View File

@ -6,15 +6,20 @@ SHORT_MACHINE=`uname -m | cut -b1-3`
if test $MACHINE = "x86_64"; then if test $MACHINE = "x86_64"; then
EXTN="amd64" EXTN="amd64"
else else
if test $SHORT_MACHINE = "arm"; then if test $SHORT_MACHINE = "aar"; then
EXTN="armhf" EXTN="arm64"
EXTRA_DEPS="" EXTRA_DEPS=""
else else
if test $SHORT_MACHINE = "mip"; then if test $SHORT_MACHINE = "arm"; then
EXTN="mips" EXTN="armhf"
EXTRA_DEPS="" EXTRA_DEPS=""
else else
EXTN="i386" if test $SHORT_MACHINE = "mip"; then
EXTN="mips"
EXTRA_DEPS=""
else
EXTN="i386"
fi
fi fi
fi fi
fi fi