mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-10 13:23:41 +00:00
17 lines
635 B
Plaintext
17 lines
635 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-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 8
|
|
cp *.a ../linux/mips
|
|
cd ..
|