1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-26 13:13:17 +00:00

added configuration to compile the agent for openwrt armv7 (like Teltonika rutx11) (#249)

This commit is contained in:
Theia Innovation
2024-11-26 21:49:56 +01:00
committed by GitHub
parent 39a927f25e
commit 1579eba11d
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#
# Copy and run this in the OpenSSL directory for ARM compatible OpenSSL stack
#
export PATH=/tmp/ToolChains/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/bin/:$PATH
export CC=/tmp/ToolChains/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-8.4.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-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/armvirt32
cd ..