更新时间:2021-12-08 12:35:45
封面
版权页
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Meeting the Yocto Project
What is the Yocto Project?
Delineating the Yocto Project
Understanding Poky
The alliance of OpenEmbedded Project and Yocto Project
Summary
Chapter 2. Baking Our Poky-based System
Configuring a host system
Downloading the Poky source code
Preparing the build environment
Knowing the local.conf file
Building a target image
Running images in QEMU
Chapter 3. Using Hob to Bake an Image
Building an image using Hob
Customizing an image with Hob
Chapter 4. Grasping the BitBake Tool
Understanding the BitBake tool
Exploring metadata
Parsing metadata
Dependencies
Preferring and providing recipes
Fetching the source code
Understanding BitBake's tasks
Generating a root filesystem image
Chapter 5. 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
Chapter 6. Assimilating Packaging Support
Using supported package formats
Understanding shared state cache
Explaining package versioning
Package feeds
Chapter 7. Diving into BitBake Metadata
Using metadata
Working with metadata
Chapter 8. Developing with the Yocto Project
Deciphering the software development kit
Working with the Poky SDK
Developing applications on the target
Integrating with Eclipse
Chapter 9. Debugging with the Yocto Project
Differentiating metadata and application debugging
Tracking image package and SDK contents
Debugging packaging
Logging information during task execution
Utilizing a development shell
Using the GNU Project Debugger for debugging
Chapter 10. Exploring External Layers
Powering flexibility with layers
Detailing the layer's source code
Adding meta layers
Chapter 11. Creating Custom Layers
Making a new layer
Adding metadata to the layer
Creating an image
Adding a package recipe
Writing a machine definition
Using a custom distribution
Machine features versus distro features
Understanding the variables scope
Chapter 12. Customizing Existing Recipes
Common use cases
Adding extra options to recipes based on Autoconf
Applying a patch
Adding extra files to the existing packages
Changing recipe feature configuration
Customizing BusyBox
Customizing the linux-yocto framework
Chapter 13. Achieving GPL Compliance
Understanding copyleft
Managing software licensing with Poky