Book Image

Embedded Linux Development with Yocto Project

By : Otavio Salvador
Book Image

Embedded Linux Development with Yocto Project

By: Otavio Salvador

Overview of this book

A practical tutorial guide which introduces you to the basics of Yocto Project, and also helps you with its real hardware use to boost your Embedded Linux-based project. If you are an embedded systems enthusiast and willing to learn about compelling features offered by the Yocto Project, then this book is for you. With prior experience in the embedded Linux domain, you can make the most of this book to efficiently create custom Linux-based systems.
Table of Contents (17 chapters)
15
A. References
16
Index

Understanding the work directory


The build/tmp/work directory is split by architecture. For example, when working with the machine qemuarm, we have the following four directories:

  • all-poky-linux

  • armv5te-poky-linux-gnueabi

  • qemuarm-poky-linux-gnueabi

  • x86_64-linux

The directories found here and their contents are architecture and machine dependent. We shouldn't take this as a final list, only as an illustration. The directory x86_64-linux is used to build the host sysroot content, which is detailed in the next section. The directory all-poky-linux holds the working build directories for the packages that are architecture agnostic. This fragmented structure is necessary to allow building multiple machines and architectures within one build directory without conflicting with each other.

The target machine we use is qemuarm. This machine is an emulation of the ARM Versatile Platform Baseboard with the ARM926EJ-S CPU emulation that supports the ARMv5TE instructions. Poky treats qemuarm as a type...