更新时间:2021-07-02 15:09:05
coverpage
Title Page
Embedded Linux Development using Yocto Projects
Second Edition
Copyright
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
Meeting the Yocto Project
What is the Yocto Project?
Delineating the Yocto Project
Understanding Poky
Using BitBake
OpenEmbedded-Core
Metadata
The alliance of the OpenEmbedded Project and the Yocto Project
Summary
Baking Our Poky-Based System
Configuring a host system
Installing Poky on Debian
Installing Poky on Fedora
Downloading the Poky source code
Preparing the build environment
Knowing the local.conf file
Building a target image
Running images in QEMU
Using Toaster to Bake an Image
What is Toaster?
Installing Toaster
Starting Toaster
Building an image to QEMU
Grasping the BitBake Tool
Understanding the BitBake tool
Exploring metadata
Parsing metadata
Dependencies
Preferring and providing recipes
Fetching the source code
Remote file downloads
Git repositories
Optimizing the source code download
Disabling network access
Understanding BitBake's tasks
Extending tasks
Generating a root filesystem image
Detailing the Temporary Build Directory
Detailing the build directory
Constructing the build directory
Exploring the temporary build directory
Understanding the work directory
Understanding the sysroot directories
Assimilating Packaging Support
Using supported package formats
List of supported package formats
Choosing a package format
Running code during package installation
Understanding shared state cache
Explaining package versioning
Specifying runtime package dependencies
Package feeds
Using package feeds
Diving into BitBake Metadata
Using metadata
Working with metadata
The basic variable setting
Variable expansion
Setting a default value using ?=
Setting a default value using ??=
Immediate variable expansion
Appending and prepending
Override syntax operators
Conditional metadata set
Conditional appending
File inclusion
Python variable expansion
Defining executable metadata
Defining Python functions in the global namespace
The inheritance system