Building the Yocto SDK for the STKa8Xx4 requires a Yocto build environment configured for meta-tq or ci-meta-tq. Follow the TQMa8Xx4 Yocto quickstart guide instructions to setup the build environment.
To generate the Yocto SDK for the default image tq-image-weston-debug, use the following command in your build space:
bitbake -c populate_sdk tq-image-weston-debug
Yocto generates an SDK install script which is available after building in the following path of your 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 tq-image-weston-debug has been used to generate the SDK.
./tq-dumpling-wayland-nxp-glibc-i686-tq-image-weston-debug-cortexa35-toolchain-5.0.11.sh
If the SDK is used in a new shell session, source the SDK environment setup script e.g. when the SDK has been installed to the default path /opt/dumpling-wayland-nxp/5.0.11/
source /opt/dumpling-wayland-nxp/5.0.11/environment-setup-cortexa35-tq-linux