From 15a41d25e961b4e4becc549cbbb25573c51cadfa Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 28 Jun 2017 10:02:34 -0700 Subject: dev-manual: Updated "Building Images" section Fixes [YOCTO #11630] I re-wrote the "Building Images" section into a "Performing a Simple Build" section. A single link in the common tasks chapter was affected by the section name change. (From yocto-docs rev: de5a4cfa4f63538fe0a5ec0c2aacfb9222b70c4b) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-start.xml | 46 ++++++++++++++++++--------- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/documentation/dev-manual/dev-manual-start.xml b/documentation/dev-manual/dev-manual-start.xml index e1b2e5d4c7..459254c078 100644 --- a/documentation/dev-manual/dev-manual-start.xml +++ b/documentation/dev-manual/dev-manual-start.xml @@ -730,45 +730,61 @@ -
- Building Images +
+ Performing a Simple Build - The build process creates an entire Linux distribution, including the toolchain, from source. + The build process creates an entire Linux distribution, + including the toolchain, from source. For more information on this topic, see the "Building Images" section in the Yocto Project Quick Start. - The build process is as follows: + Following are the high-level steps for performing a simple build + using the Yocto Project: - Make sure you have set up the Source Directory described in the - previous section. - Initialize the build environment by sourcing a build + + Set Up Your Source Directories: + Make sure you have set up the Source Directory described in the + "Cloning the poky Repository" + section. + + + Initialize the Build Environment: + Initialize the build environment by sourcing a build environment script (i.e. &OE_INIT_FILE; or oe-init-build-env-memres). - Optionally ensure the conf/local.conf configuration file, - which is found in the + + Make Sure Your local.conf + File is Correct: + Ensure the conf/local.conf configuration + file, which is found in the Build Directory, is set up how you want it. - This file defines many aspects of the build environment including - the target machine architecture through the + This file defines many aspects of the build environment + including the target machine architecture through the MACHINE variable, the packaging format used during the build (PACKAGE_CLASSES), and a centralized tarball download directory through the - DL_DIR variable. + DL_DIR variable. + + Build the Image: Build the image using the bitbake command. - If you want information on BitBake, see the + For example, the following command builds the + core-image-minimal image: + + $ bitbake core-image-minimal + + For information on BitBake, see the BitBake User Manual. - Run the image either on the actual hardware or using the QEMU - emulator.
-- cgit v1.2.3-54-g00ecf