Exploring the temporary build directory
It is critical to understand the temporary build directory (build/tmp
). The temporary build directory is created just after the start of a build, and it's especially important to help us to identify why something didn't behave as expected.
The contents of the build/tmp
directory are shown in the following figure:
The most important directories found within it are the following:
deploy
: This contains the build products such as images, packages, and SDKssysroots
: This contains the shared libraries, headers, and utilities that are used in the process of building recipeswork
: This contains the working source code, a task's configuration, execution logs, and the contents of generated packages.