mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Merge pull request #14 from paulfurley/12-libcrypto-armv4
openssl static library for ARM, and ARM build scripts -- works on Raspberry Pi
This commit is contained in:
commit
3635a940f9
4 changed files with 8 additions and 2 deletions
|
@ -2,15 +2,16 @@ CC=gcc
|
||||||
CXX=g++
|
CXX=g++
|
||||||
|
|
||||||
INCLUDES=-Iext/bin/libcrypto/include -Iext/jsoncpp/include
|
INCLUDES=-Iext/bin/libcrypto/include -Iext/jsoncpp/include
|
||||||
|
LDFLAGS=-ldl
|
||||||
ARCH=$(shell uname -m)
|
ARCH=$(shell uname -m)
|
||||||
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
|
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
|
||||||
|
|
||||||
# Uncomment for a release optimized build
|
# Uncomment for a release optimized build
|
||||||
CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
|
CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) $(LDFLAGS) -DNDEBUG $(DEFS)
|
||||||
STRIP=strip --strip-all
|
STRIP=strip --strip-all
|
||||||
|
|
||||||
# Uncomment for a debug build
|
# Uncomment for a debug build
|
||||||
#CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE -DZT_LOG_STDOUT $(DEFS)
|
#CFLAGS=-Wall -g -pthread $(INCLUDES) $(LDFLAGS) -DZT_TRACE -DZT_LOG_STDOUT $(DEFS)
|
||||||
#STRIP=echo
|
#STRIP=echo
|
||||||
|
|
||||||
CXXFLAGS=$(CFLAGS) -fno-rtti
|
CXXFLAGS=$(CFLAGS) -fno-rtti
|
||||||
|
|
BIN
ext/bin/libcrypto/linux-armv4/libcrypto.a
Normal file
BIN
ext/bin/libcrypto/linux-armv4/libcrypto.a
Normal file
Binary file not shown.
1
ext/bin/libcrypto/linux-armv6l
Symbolic link
1
ext/bin/libcrypto/linux-armv6l
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
linux-armv4/
|
4
ext/bin/libcrypto/openssl-config-linux-armv4.sh
Normal file
4
ext/bin/libcrypto/openssl-config-linux-armv4.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
make clean
|
||||||
|
./Configure no-sock no-ssl2 no-ssl3 no-err no-krb5 no-engine no-hw no-tlsext no-jpake no-capieng no-idea no-camellia no-seed no-bf no-cast no-des no-rc2 no-rc4 no-rc5 no-md2 no-md4 no-ripemd no-mdc2 no-rsa no-dsa no-dh no-shared no-zlib no-dso no-cms no-ocsp no-txt_db no-pem no-mdc2 no-ui no-ts linux-armv4
|
||||||
|
make depend
|
||||||
|
make build_crypto
|
Loading…
Add table
Reference in a new issue