Building the toolchain requires a Yocto build environment configured for meta-tq or ci-meta-tq The setup of the build environment is described on the corresponding Yocto quickstart of the module.
The meta-qt5 Yocto layer has to be added to the Yocto build environment when using meta-tq
bitbake -c populate_sdk @mtq_image@
After building the SDK, the installation script is located in …/tmp/deploy/sdk/ in the build directory
e.g. for @mod_name_mtq@.BSP.SW.@yocto_rel_branch_rev@
fsl-imx-wayland-glibc-x86_64-tq-image-weston-aarch64-tqma8mpxl-2gb-mba8mpxl-toolchain-5.4-zeus.sh
By default the sdk will be installed to /opt/fsl-imx-wayland/5.4-zeus, the install path can be changed during the installtion.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
. /opt/fsl-imx-wayland/5.4-zeus/environment-setup-aarch64-poky-linux
to build the SDK with Qt5 support execute the following command.
bitbake meta-toolchain-qt5
Building meta-toolchain-qt5 may take several hours, depending on your hardware configuration
After building meta-toolchain-qt5 the SDK file is located in the following path of the build directory tmp/deploy/sdk/fsl-imx-wayland-glibc-x86_64-meta-toolchain-qt5-aarch64-toolchain-5.4-zeus.sh
Execute the *sh file to install the SDK, the default path is set to /opt/fsl-imx-wayland/5.4-zeus