Browse Source

extend the build.sh script usage notes; add reference in the dev "Building in Docker.md"

master
Krasiyan Nedelchev 3 years ago
parent
commit
58806a2bd6
  1. 10
      build.sh
  2. 6
      docs/development/Building in Docker.md

10
build.sh

@ -7,9 +7,15 @@ Usage syntax: ./build.sh <TARGET>
Notes:
* You can specify multiple targets.
* If no targets are specified, *all* of them will be built.
./build.sh <TARGET_1> <TARGET_2> <TARGET_N>
* To get a list of all targets use \"help\". Hint: pipe the output through a pager.
./build.sh help | less
* To build all targets use \"all\"
./build.sh all
* To clean a target prefix it with \"clean_\".
* To clean all targets just use \"clean\"."
./build.sh clean_MATEKF405SE
* To clean all targets just use \"clean\".
./build.sh clean"
exit 1
fi

6
docs/development/Building in Docker.md

@ -20,6 +20,12 @@ Where `<TARGET>` must be replaced with the name of the target that you want to b
./build.sh MATEKF405SE
```
Run the script with no arguments to get more details on its usage:
```
./build.sh
```
## Windows 10
Docker on Windows requires full paths for mounting volumes in `docker run` commands. For example: `c:\Users\pspyc\Documents\Projects\inav` becomes `//c/Users/pspyc/Documents/Projects/inav` .

Loading…
Cancel
Save