This commit is contained in:
Stavros Korokithakis 2021-08-09 03:43:50 +03:00
parent 3684834de8
commit 89f7b8241e
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63
2 changed files with 4 additions and 4 deletions

View File

@ -43,14 +43,14 @@ git submodule update --init --recursive
git checkout Dockerfile
echo "RUN pip install intelhex" >> Dockerfile
echo 'ENV PATH="/home/ardupilot/.local/bin:/usr/lib/ccache:/ardupilot/Tools/autotest:/opt/gcc-arm-none-eabi-6-2017-q2-update/bin:${PATH}"' >> Dockerfile
echo 'ENV PATH="/home/ardupilot/.local/bin:/usr/lib/ccache:/ardupilot/Tools/autotest:/opt/'$(ls -1 /opt/ | grep gcc-arm-none-eabi)'/bin:${PATH}"' >> Dockerfile
cat Dockerfile
docker build . -t ardupilot
git checkout Dockerfile
docker run --rm -it -v "$(pwd)":/ardupilot ardupilot:latest ./waf configure --board="$BOARD"
docker run --rm -it -v "$(pwd)":/ardupilot ardupilot:latest ./waf build
```
@ -270,6 +270,6 @@ _(Many thanks to Michel Pastor for his help with everything in this note.)_
* * *
<p style="font-size:80%; font-style: italic">
Last updated on July 06, 2021. For any questions/feedback,
Last updated on August 09, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>

View File

@ -17,6 +17,6 @@ These are general tips for building RC planes/quads/whatever:
* * *
<p style="font-size:80%; font-style: italic">
Last updated on April 24, 2021. For any questions/feedback,
Last updated on August 09, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>