3.3.2 Yocto build SDK pakcage
Yocto supports SDK generating function. It used for low-level or application level to compile source code.You doesn't need to
manually handle the dependency softwares or libraries.The SDK package has two different way, one is suit low-level deveop
toolchain, used for compile u-boot and linux.Another used for application development, it contains header files and libraries on
target sysroot. The developer will be more convenient to development program to target device. The two kinds SDK package use
shell self-extra file, it will be installed under "/opt" directory.
Build low-level toolchain
$ bitbake meta-toolchain
After the build is complete, in the "tmp/deploy/sdk" directory:
$ ls tmp/deploy/sdk/
myir-imx-xwayland-glibc-x86_64-meta-toolchain-aarch64-toolchain-4.14-sumo.sh
myir-imx-xwayland-glibc-x86_64-meta-toolchain-aarch64-toolchain-4.14-sumo.target.manifest
myir-imx-xwayland-glibc-x86_64-meta-toolchain-aarch64-toolchain-4.14-sumo.testdata.json
Here has two kinds manifest file, "host.manifest" is a list of host software packages, "target.manifest" is a list of target device
packages.
Build application-level toolchain
The application-level toolchain use same name with Image.This case you can use "fsl-image-qt5-validation-imx" as image name
argument.
$ bitbake -c populate_sdk <image name>
After the build is complete, in the "tmp/deploy/sdk" directory:
$ ls tmp/deploy/sdk/
myir-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.host.manifest
myir-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.sh
myir-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.target.manifest
myir-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.testdata.json
The "
.host.manifest" is a list of host install packages. The "
.target.manifest" is a list of target device installed packages.The file
"myir-imx-xwayland-glibc-x86_64-fsl-image-qt5-validation-imx-aarch64-toolchain-4.14-sumo.sh" is SDK toolchain. It can be
distributed and installed to other Linux system and compile program to target device.
3.3.2 Yocto build SDK package
18
Summary of Contents for MYC-C8MMQ6-8E2D-160-I
Page 1: ......
Page 5: ...1 Software Resource 5 ...
Page 23: ...4 3 RTC 23 ...
Page 41: ...Figure 5 2 8 Kit configure 5 2 Config QtCreator 41 ...