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 SDKs
  • sysroots: This contains the shared libraries, headers, and utilities that are used in the process of building recipes
  • work: This contains the working source code, a task's configuration, execution logs, and the contents of generated packages
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.233.43