1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-14 23:33:38 +00:00
Files
MeshAgent/openssl/libstatic/linux/openssl-mips
2017-10-12 14:28:03 -07:00

17 lines
654 B
Plaintext

#
# Copy and run this in the OpenSSL directory for MIPS compatible OpenSSL stack
#
export PATH=/home/default/Public/ToolChains/ddwrt/4.1.0-uclibc-0.9.28/bin/:$PATH
export CC=/home/default/Public/ToolChains/ddwrt/4.1.0-uclibc-0.9.28/bin/mipsel-linux-gcc
cd ../openssl
make clean
./Configure linux-generic32 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-ec no-ecdsa 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
cp *.a ../openssl-static/mips
cd ..