-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added configuration to compile the agent for openwrt armv7 (like Telt…
…onika rutx11) (#249)
- Loading branch information
1 parent
39a927f
commit 1579eba
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 .. |