Building the Yocto SDK for the STKa64xxl requires a Yocto build environment configured for meta-tq or ci-meta-tq. Follow the TQMa64xxL Yocto quickstart guide instructions to setup the build environment.
To generate the Yocto SDK for the default image tq-image-generic, use the following command in your build space:
bitbake -c populate_sdk tq-image-generic
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-generic has been used to generate the SDK.
./tq-dumpling-ti-glibc-x86_64-tq-image-generic-aarch64-toolchain-4.0.6.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-ti/4.0.6/
source /opt/dumpling-ti/4.0.6/environment-setup-aarch64-tq-linux