Yocto Project Software Development Kit (SDK) Developer's Guide

Scott Rifenbark

Scotty's Documentation Services, LLC

Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-Share Alike 2.0 UK: England & Wales as published by Creative Commons.

Note

For the latest version of this manual associated with this Yocto Project release, see the Yocto Project Software Development Kit (SDK) Developer's Guide from the Yocto Project website.
Revision History
Revision 2.1 April 2016
Released with the Yocto Project 2.1 Release.
Revision 2.2 Sometime in 2016
Released with the Yocto Project 2.2 Release.

Table of Contents

1. Introduction
1.1. Introduction
1.1.1. The Cross-Development Toolchain
1.1.2. Sysroots
1.1.3. The QEMU Emulator
1.1.4. Eclipse Yocto Plug-in
1.1.5. User-Space Tools
1.2. SDK Development Model
2. Using the Standard SDK
2.1. Why use the Standard SDK and What is in It?
2.2. Installing the SDK
2.3. Running the SDK Environment Setup Script
2.4. Autotools-Based Projects
2.4.1. Creating and Running a Project Based on GNU Autotools
2.4.2. Passing Host Options
2.5. Makefile-Based Projects
2.6. Developing Applications Using Eclipse
2.6.1. Workflow Using Eclipse
2.6.2. Working Within Eclipse
3. Using the Extensible SDK
3.1. Setting Up to Use the Extensible SDK
3.2. Using devtool in Your SDK Workflow
3.2.1. Use devtool add to Add an Application
3.2.2. Use devtool modify to Modify the Source of an Existing Component
3.3. A Closer Look at devtool add
3.3.1. Name and Version
3.3.2. Dependency Detection and Mapping
3.3.3. License Detection
3.3.4. Adding Makefile-Only Software
3.3.5. Adding Native Tools
3.3.6. Adding Node.js Modules
3.4. Working With Recipes
3.4.1. Finding Logs and Work Files
3.4.2. Setting Configure Arguments
3.4.3. Sharing Files Between Recipes
3.4.4. Packaging
3.5. Restoring the Target Device to its Original State
3.6. Installing Additional Items Into the Extensible SDK
3.7. Updating the Extensible SDK
3.8. Creating a Derivative SDK With Additional Components
1. Obtaining the SDK
1.1. Locating Pre-Built SDK Installers
1.2. Building an SDK Installer
1.3. Extracting the Root Filesystem
1.4. Installed Standard SDK Directory Structure
1.5. Installed Extensible SDK Directory Structure
2. Customizing the SDK
2.1. Configuring the Extensible SDK
2.2. Adjusting the Extensible SDK to Suit Your Build System Setup
2.3. Changing the Appearance of the Extensible SDK
2.4. Providing Updates After Installing the Extensible SDK
2.5. Providing Additional Installable Extensible SDK Content
2.6. Minimizing the Size of the Extensible SDK Installer Download