DART-6UL Toolchain installation for out of Yocto Krogoth builds: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{PageHeader|DART-6UL - Yocto Krogoth toolchain installation for out of Yocto builds}} {{DocImage|category1=DART-6UL|category2=Yocto}} __toc__
{{PageHeader|DART-6UL - Yocto Krogoth toolchain installation for out of Yocto builds}} {{DocImage|category1=DART-6UL|category2=Yocto}} __toc__


As an example of X11 build, Build the toolchain by:
Assuming you followed steps 1, 3, 4 & 5 of the [[DART-6UL_Yocto_Krogoth_R2_build|Build Yocto from source code]] guide, as an example of X11 build, build the toolchain by:
<pre>
<pre>
$ cd ~/var-imx-yocto-krogoth
$ cd ~/var-imx-yocto-krogoth

Latest revision as of 11:03, 20 April 2017

DART-6UL - Yocto Krogoth toolchain installation for out of Yocto builds

Assuming you followed steps 1, 3, 4 & 5 of the Build Yocto from source code guide, as an example of X11 build, build the toolchain by:

$ cd ~/var-imx-yocto-krogoth
$ MACHINE=imx6ul-var-dart DISTRO=fsl-imx-x11 source var-setup-release.sh -b 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/fsl-imx-x11-glibc-x86_64-meta-toolchain-cortexa7hf-neon-toolchain-4.1.15-2.0.1.sh

Reply to all defaults 'y'
The toolchain name depend on your build machine and may change.

Each time you wish to use the toolchain in a new shell session, you need to source the environment setup script:

$ source /opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi