|
|
Line 1: |
Line 1: |
| {{PageHeader|Yocto toolchain installation for out of Yocto builds}} {{DocImage|category1=Yocto|category2=Toolchain}} __toc__
| | {{#vardef:MACHINE_NAME|imx6ul-var-dart}} |
| | | {{:Yocto_Toolchain_installation}} |
| Assuming you followed steps 1, 3, 4 & 5 of the [[Yocto_Morty_Build_Yocto_release|Build Yocto from source code]] guide, as an example of X11 build, build the toolchain by:
| |
| | |
| $ cd {{#var:BUILD_FOLDER|~/var-fslc-yocto}}
| |
| $ MACHINE={{#var:MACHINE_NAME|var-som-mx6}} DISTRO=fslc-x11 . setup-environment build_x11
| |
| $ bitbake meta-ide-support
| |
| $ bitbake meta-toolchain
| |
| | |
| The output will be located at tmp/deploy/sdk/. On a 64 bit Ubuntu you will get the following script.
| |
| | |
| Install the tools by running it:
| |
| | |
| $ tmp/deploy/sdk/{{#var:TOOLCHAIN_NAME|fslc-x11-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.2.1.sh}}
| |
| | |
| | |
| Reply to all defaults 'y'<br>
| |
| The toolchain name depend on your build machine and may change.<br>
| |
| <br>
| |
| Each time you wish to use the toolchain in a new shell session, you need to source the environment setup script:
| |
| | |
| $ source {{#var:TOOLCHAIN_LOCATION|/opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi}}
| |
Revision as of 11:05, 1 May 2017