mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-14 15:23:39 +00:00
21 lines
757 B
Plaintext
21 lines
757 B
Plaintext
#
|
|
# Copy and run this in the OpenSSL directory for MIPS compatible OpenSSL stack
|
|
#
|
|
# NEED TO ADD "-EL" to Compiler and Linker options in OpenSSL Makefile!!!!
|
|
#
|
|
export PATH=/home/default/Public/PTV1000-GPL/mips-4.3/bin:$PATH
|
|
export CC=/home/default/Public/PTV1000-GPL/mips-4.3/bin/mips-linux-gnu-gcc
|
|
|
|
cd ../openssl
|
|
./Configure linux-mipsel 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 -EL /g' Makefile > t
|
|
rm Makefile
|
|
mv t Makefile
|
|
sed 's/SHARED_LDFLAGS=/SHARED_LDFLAGS=-EL/g' Makefile > t
|
|
rm Makefile
|
|
mv t Makefile
|
|
make -j 8
|
|
cp *.a ../linux/mipsel
|
|
cd ..
|