Exploring the temporary build directory
Understanding the temporary build directory (build/tmp
) is critical. The temporary build directory is created just after the build starts, and it’s essential for helping us identify why something didn’t behave as expected.
The following figure shows the contents of the build/tmp
directory:
Figure 6.1 – Contents of build/tmp
The most critical directories found within it are as follows:
deploy
: This contains the build products, such as images, binary packages, and SDK installers.sysroots-components
: This contains a representation ofrecipes-sysroot
andrecipes-sysroot-native
, which allows BitBake to know where each component is installed. This is used to create recipe-specificsysroots
during the build.sysroots-uninative
: This includesglibc
(a C library), which is used when native utilities are generated. This, in turn, improves the reuse of shared state artifacts across different...