Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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
 Angolini Angolini
Author Profile Icon Angolini
Angolini
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
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 Index

Understanding the sysroot directories


Traditionally, the Yocto Project’s sysroot directory was shared among all the recipes and the build system environment, but this has a number of shortcomings as this macro environment has all the dependencies of all recipes previously built, and those libraries and utilities may influence other recipes. Since Yocto Project 2.4 (Rocko), the sysroot structure has been improved to use a recipe-specific sysroot. The content of the sysroot directories are shown in the following figure:

After we build the procps, version 3.3.12, recipe, we get two sets of sysroot directories, as shown in the previous screenshot. The directories are recipes-sysroot-native and recipes-sysroot, and inside each sysroot set, there is a sub-directory called sysroot-provides. This directory lists the packages installed on each sysroot.

recipe-sysroot-native includes the build dependencies used in the host system during the build process. It is critical to the cross-compilation process...

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 $15.99/month. Cancel anytime
Visually different images