Book Image

Embedded Linux Development using Yocto Projects - Second Edition

By : Otavio Salvador, Daiane Angolini
Book Image

Embedded Linux Development using Yocto Projects - Second Edition

By: Otavio Salvador, Daiane Angolini

Overview of this book

Yocto Project is turning out to be the best integration framework for creating reliable embedded Linux projects. It has the edge over other frameworks because of its features such as less development time and improved reliability and robustness. Embedded Linux Development using Yocto Project starts with an in-depth explanation of all Yocto Project tools, to help you perform different Linux-based tasks. The book then moves on to in-depth explanations of Poky and BitBake. It also includes some practical use cases for building a Linux subsystem project using Yocto Project tools available for embedded Linux. The book also covers topics such as SDK, recipetool, and others. By the end of the book, you will have learned how to generate and run an image for real hardware boards and will have gained hands-on experience at building efficient Linux systems using Yocto Project.
Table of Contents (22 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
7
Diving into BitBake Metadata
Index

Detailing the build directory


The build directory is a central information and artifact source for every Poky user. Its main directories are the following:

  • conf: This has the configuration files we use to control Poky and BitBake. The first use of this directory was in Chapter 2, Baking Our Poky-Based System. It stores configuration files such as build/conf/local.conf and build/conf/bblayers.conf.
  • downloads: This stores all the downloaded artifacts. It can be seen as the download cache and has been detailed in Chapter 4, Grasping the BitBake Tool.
  • sstate-cache: This has the packaged data snapshots. It is a cache mainly used to speed up the build process. This folder is detailed in Chapter 6, Assimilating Packaging Support.
  • tmp: This is the temporary build directory and the main focus of this chapter.