As an alternative to locating and downloading a toolchain installer, you can build the toolchain installer if you have a Build Directory.
You can build the toolchain
installer using bitbake meta-toolchain
.
This method requires you to still install the target
sysroot by installing and extracting it separately.
For information on how to install the sysroot, see the
"Extracting the Root Filesystem" section.
A final method of building the toolchain installer exists that has
significant advantages over the previous method.
This method results in a toolchain installer that contains the sysroot
that matches your target root filesystem.
To build this installer, use the
bitbake image -c populate_sdk
command.
Remember, before using any bitbake
command, you
must source the build environment setup script
(i.e.
oe-init-build-env
or
oe-init-build-env-memres
)
located in the Source Directory and you must make sure your
conf/local.conf
variables are correct.
In particular, you need to be sure the
MACHINE
variable matches the architecture for which you are building and that
the
SDKMACHINE
variable is correctly set if you are building a toolchain designed to
run on an architecture that differs from your current development host
machine (i.e. the build machine).
When the BitBake command completes, the toolchain installer will be in
tmp/deploy/sdk
in the Build Directory.