mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #3024 from kaleb-himes/ZD10411
Update arduino script to reflect includes of inline filespull/3150/head
commit
29abd72c39
|
@ -32,6 +32,14 @@ if [ "$DIR" = "ARDUINO" ]; then
|
||||||
mv ./wolfSSL/bio.c ./wolfSSL/wolfssl
|
mv ./wolfSSL/bio.c ./wolfSSL/wolfssl
|
||||||
mv ./wolfSSL/evp.c ./wolfSSL/wolfssl
|
mv ./wolfSSL/evp.c ./wolfSSL/wolfssl
|
||||||
|
|
||||||
|
# make a copy of evp.c and bio.c for ssl.c to include inline
|
||||||
|
cp ./wolfSSL/wolfssl/evp.c ./wolfSSL/wolfcrypt/src/evp.c
|
||||||
|
cp ./wolfSSL/wolfssl/bio.c ./wolfSSL/wolfcrypt/src/bio.c
|
||||||
|
|
||||||
|
# copy openssl compatibility headers to their appropriate location
|
||||||
|
mkdir ./wolfSSL/wolfssl/openssl
|
||||||
|
cp ../../wolfssl/openssl/* ./wolfSSL/wolfssl/openssl
|
||||||
|
|
||||||
echo "/* Generated wolfSSL header file for Arduino */" > ./wolfSSL/wolfssl.h
|
echo "/* Generated wolfSSL header file for Arduino */" > ./wolfSSL/wolfssl.h
|
||||||
echo "#include <wolfssl/wolfcrypt/settings.h>" >> ./wolfSSL/wolfssl.h
|
echo "#include <wolfssl/wolfcrypt/settings.h>" >> ./wolfSSL/wolfssl.h
|
||||||
echo "#include <wolfssl/ssl.h>" >> ./wolfSSL/wolfssl.h
|
echo "#include <wolfssl/ssl.h>" >> ./wolfSSL/wolfssl.h
|
||||||
|
|
Loading…
Reference in New Issue