Toolchain

To make a toolchain, run the following:

bitbake core-image-minimal -c populate_sdk

For more information, see the "Building an SDK Installer" section of the Yocto Manual.

The toolchain will be placed in ./tmp/deploy/sdk/.

Usage

The toolchain should be usable with only the following packages installed:

  • build-essential
  • python

It is a self-extracting tarball, so just "executing" it should walk you through the install procedure.

After installing, it will ask you to source an environment-setup-* file, which will setup your environment.

Using the environment variables ${CC}, ${CXX}, ${AR}, ${LD} and friends will help you on the right path.