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 build starts, and it's especially important for helping 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, binary 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