diff --git a/lib-jpeg-turbo/linux/arm64/libturbojpeg.a b/lib-jpeg-turbo/linux/arm64/libturbojpeg.a new file mode 100644 index 0000000..d24f52a Binary files /dev/null and b/lib-jpeg-turbo/linux/arm64/libturbojpeg.a differ diff --git a/makefile b/makefile index 2e5cf0f..c87ef28 100644 --- a/makefile +++ b/makefile @@ -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 diff --git a/openssl/libstatic/linux/arm64/libcrypto.a b/openssl/libstatic/linux/arm64/libcrypto.a new file mode 100644 index 0000000..7124e36 Binary files /dev/null and b/openssl/libstatic/linux/arm64/libcrypto.a differ diff --git a/openssl/libstatic/linux/arm64/libssl.a b/openssl/libstatic/linux/arm64/libssl.a new file mode 100644 index 0000000..bed2d1c Binary files /dev/null and b/openssl/libstatic/linux/arm64/libssl.a differ diff --git a/openssl/libstatic/linux/openssl-arm64 b/openssl/libstatic/linux/openssl-arm64 new file mode 100644 index 0000000..389ed35 --- /dev/null +++ b/openssl/libstatic/linux/openssl-arm64 @@ -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 ..