Building the Yocto SDK for the @stk_name@ requires a Yocto build environment configured for meta-tq or ci-meta-tq. Follow the @mod_name_head@ Yocto quickstart quide instuctions to setup the build environment.
To generate the Yocto SDK for the default image @mtq_image@ use the following command in your build space:
bitbake -c populate_sdk @mtq_image@
Yocto generates an SDK install script which is available after building in the following path of you build directory …/tmp/deploy/sdk/.
Navigate to the script and execute it to install the SDK. The code block below shows the install script name if the default image @mtq_image@ has been used to generate the SDK
./tq-@tq_distro@-glibc-@host_arch@-@mtq_image@-@cpu_arch@-toolchain-@yocto_rel_ver_major@.@yocto_rel_ver_minor@.sh
If the SDK is used in a new shell session, source the SDK environment setup script e.g. when SDK has been installed to the default path /opt/@tq_distro@/@yocto_rel_ver_major@.@yocto_rel_ver_minor@/
source /opt/@tq_distro@/@yocto_rel_ver_major@.@yocto_rel_ver_minor@/@sdk_env_script@