Getting set up to use the extensible SDK is identical to getting set up to use the standard SDK. You still need to locate and run the installer and then run the environment setup script. See the "Installing the SDK" and the "Running the SDK Environment Setup Script" sections for general information. The following items highlight the only differences between getting set up to use the extensible SDK as compared to the standard SDK:
Default Installation Directory:
By default, the extensible SDK installs into the
poky_sdk
folder of your home directory.
As with the standard SDK, you can choose to install the
extensible SDK in any location when you run the installer.
However, unlike the standard SDK, the location you choose needs
to be writable for whichever users need to use the SDK,
since files will need to be written under that directory during
the normal course of operation.
Build Tools and Build System:
The extensible SDK installer performs additional tasks as
compared to the standard SDK installer.
to the SDK and the installer also prepares the internal build
system within the SDK.
You can find pre-built extensible SDK installers in the same
toolchain
location as the pre-built standard SDK installers.
For extensible SDK installers, the
ext
string is part of the name.
Here is an example:
poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-2.2.sh
Here is example output for running the extensible SDK installer:
$ ./poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.2.sh Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.2 =================================================================================== Enter target directory for SDK (default: ~/poky_sdk): You are about to install the SDK to "/home/scottrif/poky_sdk". Proceed[Y/n]? Y Extracting SDK......................................................................done Setting it up... Extracting buildtools... Preparing build system... done SDK has been successfully set up and is ready to be used. Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. $ . /home/scottrif/poky_sdk/environment-setup-core2-64-poky-linux
After installing the SDK, you need to run the SDK environment setup script. Here is the output from an example run:
$ cd /home/scottrif/poky_sdk $ source environment-setup-core2-64-poky-linux SDK environment now set up; additionally you may now run devtool to perform development tasks. Run devtool --help for further details.
Once you run the environment setup script, you have
devtool
available.