1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-23 19:53:47 +00:00

Added ARMv8 64bit (aarch64) as agent id 26 + binary libraries.

This commit is contained in:
Ylian Saint-Hilaire
2019-04-28 11:38:09 -07:00
parent 18e4dd4548
commit 087298f032
5 changed files with 30 additions and 2 deletions

Binary file not shown.

View File

@@ -64,6 +64,7 @@
# make linux ARCHID=20 # Linux x86 64 bit NOKVM
# make linux ARCHID=24 # Linux ARM 32 bit HardFloat (Linaro)
# make linux ARCHID=25 # Linux ARM 32 bit HardFloat (Raspberry Pi, etc)
# make linux ARCHID=26 # Linux ARM 64 bit
# make pi KVM=1 ARCHID=25 # Linux ARM 32 bit HardFloat, compiled on the Pi.
#
@@ -237,8 +238,19 @@ endif
# Official Linux ARM 32bit HardFloat
ifeq ($(ARCHID),25)
ARCHNAME = armhf
CC = arm-linux-gnueabihf-gcc
STRIP = arm-linux-gnueabihf-strip
#CC = arm-linux-gnueabihf-gcc
#STRIP = arm-linux-gnueabihf-strip
KVM = 1
LMS = 0
CFLAGS += -D_NOFSWATCHER
CEXTRA = -fno-strict-aliasing
endif
# Official Linux ARM 64bit
ifeq ($(ARCHID),26)
ARCHNAME = arm64
#CC = arm-linux-gnueabihf-gcc
#STRIP = arm-linux-gnueabihf-strip
KVM = 1
LMS = 0
CFLAGS += -D_NOFSWATCHER

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,16 @@
#
# Copy and run this in the OpenSSL directory for ARM compatible OpenSSL stack
#
#export PATH=/home/default/Public/ToolChains/LinuxArm/bin/:$PATH
#export CC=/home/default/Public/ToolChains/LinuxArm/bin/arm-none-linux-gnueabi-gcc
cd ../openssl
make clean
./Configure linux-generic64 no-weak-ssl-ciphers no-srp no-psk no-comp no-zlib no-zlib-dynamic no-threads no-hw no-err no-dso no-shared -no-asm no-rc5 no-idea no-md4 no-rmd160 no-ssl no-ssl3 no-seed no-camellia no-dso no-bf no-cast no-md2 no-mdc2
make depend
sed 's/ -O3 / -Os /g' Makefile > t
rm Makefile
mv t Makefile
make -j 4
cp *.a ../linux/arm64
cd ..