Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Embedded Linux Development using Yocto Projects

You're reading from   Embedded Linux Development using Yocto Projects Learn to leverage the power of Yocto Project to build efficient Linux-based products

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher
ISBN-13 9781788470469
Length 162 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Otavio Salvador Otavio Salvador
Author Profile Icon Otavio Salvador
Otavio Salvador
Daiane Angolini Daiane Angolini
Author Profile Icon Daiane Angolini
Daiane Angolini
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Meeting the Yocto Project FREE CHAPTER 2. Baking Our Poky-Based System 3. Using Toaster to Bake an Image 4. Grasping the BitBake Tool 5. Detailing the Temporary Build Directory 6. Assimilating Packaging Support 7. Diving into BitBake Metadata 8. Developing with the Yocto Project 9. Debugging with the Yocto Project 10. Exploring External Layers 11. Creating Custom Layers 12. Customizing Existing Recipes 13. Achieving GPL Compliance 14. Booting Our Custom Embedded Linux

Understanding the BitBake tool


The BitBake task scheduler started as a fork from Portage, which is the package management system used in the Gentoo distribution. However, the two projects have diverged a lot due to different usage focuses. The Yocto Project and the OpenEmbedded Project are the most well-known and intensive users of BitBake, which remains a separate and independent project with its own development cycle and mailing list (bitbake-devel@lists.openembedded.org).

As presented in Chapter 1, Meeting the Yocto Project, BitBake is a task scheduler that parses Python and the shell script mixed code. Based on the metadata, BitBake generates a large number of tasks that may have a complex dependency chain, so BitBake is responsible for ensuring those dependencies are met by maximizing the use of computational resources and running as many tasks as possible in parallel. BitBake can be understood as a tool similar to GNU Make in some respects.

In this chapter, we will cover the main aspects...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image