Template:Yocto Build Release TI: Difference between revisions
From Variscite Wiki
No edit summary |
|||
Line 44: | Line 44: | ||
$ mkdir ~/var-ti-yocto && cd ~/var-ti-yocto | $ mkdir ~/var-ti-yocto && cd ~/var-ti-yocto | ||
$ git clone {{#var:OE_LAYERSETUP_GIT}} tisdk | $ git clone {{#var:OE_LAYERSETUP_GIT}} tisdk | ||
{{Note|'''Optional:''' Variscite provides Docker containers that can be used for a development environment as an alternative to using a virtual machine or a dedicated computer. | |||
To learn more, please see Variscite's [[Docker_Build_Environment | Docker Build Environment]] guide. | |||
If you choose to use docker, launch a new container with the host build directory mounted to /workdir/build and the toolchains mounted to the home directory: | |||
$ cd ~/var-ti-yocto/tisdk/build | |||
$ ~/var-host-docker-containers/run.sh -u 20.04 -w $(pwd) $(for dir in ~/gcc-arm*; do echo -n "-v $dir:/home/vari/$(basename $dir) "; done) | |||
}} | |||
* '''Download the latest revision (recommended)'''<br> | * '''Download the latest revision (recommended)'''<br> |