Browse Source

Added support for ARM64 platforms

pull/60/head
Luca Deri 6 years ago
parent
commit
63e74ccc6a
  1. 7
      packages/debian/configure
  2. 5
      packages/debian/configure.in

7
packages/debian/configure

@ -1686,21 +1686,24 @@ SHORT_MACHINE=`uname -m | cut -b1-3`
if test $MACHINE = "x86_64"; then if test $MACHINE = "x86_64"; then
EXTN="amd64" EXTN="amd64"
else
if test $SHORT_MACHINE = "aar"; then
EXTN="arm64"
EXTRA_DEPS=""
else else
if test $SHORT_MACHINE = "arm"; then if test $SHORT_MACHINE = "arm"; then
EXTN="armhf" EXTN="armhf"
EXTRA_DEPS="" EXTRA_DEPS=""
LIBRRD="librrd8, "
else else
if test $SHORT_MACHINE = "mip"; then if test $SHORT_MACHINE = "mip"; then
EXTN="mips" EXTN="mips"
EXTRA_DEPS="" EXTRA_DEPS=""
LIBRRD=""
else else
EXTN="i386" EXTN="i386"
fi fi
fi fi
fi fi
fi
APP=n2n APP=n2n
N2N_VERS=`grep N2N_VERSION ../../Makefile | head -1| cut -d "=" -f 2` N2N_VERS=`grep N2N_VERSION ../../Makefile | head -1| cut -d "=" -f 2`

5
packages/debian/configure.in

@ -5,6 +5,10 @@ SHORT_MACHINE=`uname -m | cut -b1-3`
if test $MACHINE = "x86_64"; then if test $MACHINE = "x86_64"; then
EXTN="amd64" EXTN="amd64"
else
if test $SHORT_MACHINE = "aar"; then
EXTN="arm64"
EXTRA_DEPS=""
else else
if test $SHORT_MACHINE = "arm"; then if test $SHORT_MACHINE = "arm"; then
EXTN="armhf" EXTN="armhf"
@ -18,6 +22,7 @@ else
fi fi
fi fi
fi fi
fi
APP=n2n APP=n2n
N2N_VERS=`grep N2N_VERSION ../../Makefile | head -1| cut -d "=" -f 2` N2N_VERS=`grep N2N_VERSION ../../Makefile | head -1| cut -d "=" -f 2`

Loading…
Cancel
Save