Yocto Project Application Developer's Guide

Jessica Zhang

Intel Corporation

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 Application Developer's Guide from the Yocto Project website.
Revision History
Revision 1.0 6 April 2011
Released with the Yocto Project 1.0 Release.
Revision 1.0.1 23 May 2011
Released with the Yocto Project 1.0.1 Release.
Revision 1.1 6 October 2011
Released with the Yocto Project 1.1 Release.
Revision 1.2 April 2012
Released with the Yocto Project 1.2 Release.
Revision 1.3 October 2012
Released with the Yocto Project 1.3 Release.
Revision 1.4 April 2013
Released with the Yocto Project 1.4 Release.
Revision 1.5 October 2013
Released with the Yocto Project 1.5 Release.
Revision 1.5.1 January 2014
Released with the Yocto Project 1.5.1 Release.
Revision 1.6 April 2014
Released with the Yocto Project 1.6 Release.
Revision 1.7 October 2014
Released with the Yocto Project 1.7 Release.
Revision 1.8 April 2015
Released with the Yocto Project 1.8 Release.
Revision 1.8.1 November 2015
Released with the Yocto Project 1.8.1 Release.
Revision 1.8.2 March 2016
Released with the Yocto Project 1.8.2 Release.

Table of Contents

1. Introduction
2. The Application Development Toolkit (ADT)
2.1. The Cross-Development Toolchain
2.2. Sysroot
2.3. Eclipse Yocto Plug-in
2.4. The QEMU Emulator
2.5. User-Space Tools
3. Preparing for Application Development
3.1. Installing the ADT and Toolchains
3.1.1. Using the ADT Installer
3.1.2. Using a Cross-Toolchain Tarball
3.1.3. Using BitBake and the Build Directory
3.2. Setting Up the Cross-Development Environment
3.3. Securing Kernel and Filesystem Images
3.3.1. Getting the Images
3.3.2. Extracting the Root Filesystem
3.4. Optionally Building a Toolchain Installer
3.5. Optionally Using an External Toolchain
4. Optionally Customizing the Development Packages Installation
4.1. Package Management Systems
4.2. Configuring the PMS
5. Using the Command Line
5.1. Autotools-Based Projects
5.1.1. Creating and Running a Project Based on GNU Autotools
5.1.2. Passing Host Options
5.2. Makefile-Based Projects