Building the Yocto SDK for the STKa95xxSA requires a Yocto build environment configured for meta-tq or ci-meta-tq. Follow the TQMa95xxSA 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-x86_64-tq-image-weston-debug-armv8-toolchain-5.0.15.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.15/
source /opt/dumpling-wayland-nxp/5.0.15/environment-setup-armv8a-tq-linux
To build the SDK with Qt6 support, execute the following command:
bitbake meta-toolchain-qt6
After building meta-toolchain-qt6 the SDK file is located in the following path of the build directory tmp/deploy/sdk/tq-dumpling-wayland-glibc-x86_64-meta-toolchain-qt6-armv8a-toolchain-5.0.15.sh
Execute the *.sh file to install the SDK, the default path is set to /opt/dumpling-wayland/5.0.15
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/5.0.15/