Using the Standard SDK
Usually, an SDK has a set of libraries and applications it must provide, which is defined in an image tailored to the product. These are called image-based SDKs. For example, we can generate the Standard SDK for core-image-full-cmdline
with the following command:
Figure 9.2 – How to generate the Standard SDK for core-image-full-cmdline
Another option is to create a generic SDK with the toolchain and debugging tools. This generic SDK is called meta-toolchain
and is used mainly for Linux kernel and bootloader development and their debugging processes. It may not be sufficient to build applications with complex dependencies. To create meta-toolchain
, use the following command:
Figure 9.3 – How to generate a generic SDK
In both cases, the resulting SDK self-installer files are at build/tmp/deploy/sdk/
. Considering we used the Standard SDK for core-image-full-cmdline
, we can see the following...