PR #491: Address review comments
- Remove autogen.sh and configure commands - Fix path to ../../../../ for cmake - Remove redundant build dir creation - Add sudo make install for wolfSSL Co-Authored-By: daniele@wolfssl.com <daniele@wolfssl.com>devin/1740502756-add-freertos-fullstack-example
parent
ced6ae7b53
commit
468fd86664
|
@ -32,7 +32,7 @@ sudo ./setup_network.sh
|
||||||
|
|
||||||
3. Build the example:
|
3. Build the example:
|
||||||
```bash
|
```bash
|
||||||
mkdir -p build && cd build && cmake .. && make
|
cd build && cmake .. && make
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Run the example (requires root):
|
4. Run the example (requires root):
|
||||||
|
|
|
@ -17,21 +17,18 @@ if [ ! -d "FreeRTOS" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clone wolfSSL and wolfIP if they don't exist
|
# Clone wolfSSL and wolfIP if they don't exist
|
||||||
cd ../../../
|
cd ../../../../
|
||||||
if [ ! -d "wolfssl" ]; then
|
if [ ! -d "wolfssl" ]; then
|
||||||
git clone --depth=1 https://github.com/wolfSSL/wolfssl.git
|
git clone --depth=1 https://github.com/wolfSSL/wolfssl.git
|
||||||
cd wolfssl
|
cd wolfssl
|
||||||
./autogen.sh
|
|
||||||
./configure
|
|
||||||
make
|
make
|
||||||
|
sudo make install
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "wolfip" ]; then
|
if [ ! -d "wolfip" ]; then
|
||||||
git clone --depth=1 https://github.com/wolfSSL/wolfip.git
|
git clone --depth=1 https://github.com/wolfSSL/wolfip.git
|
||||||
cd wolfip
|
cd wolfip
|
||||||
./autogen.sh
|
|
||||||
./configure
|
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue