From 175e4bd923f34e088cd1965b3658a52a52d0b105 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 1 Oct 2012 08:51:21 -0700 Subject: [PATCH] documentation: dev-manual - Changes to "Source Directory" use. I standardized the use of the term "Source Directory" when referring to the poky directory as set up on the host. (From yocto-docs rev: 3eaf7a734a4eecab2be2c8e71bee4d6c2cb7788b) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-model.xml | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index cf489df5c5..54a2beca4c 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -102,11 +102,11 @@ "The Packages" sections both in the Yocto Project Quick Start for requirements. Establish a local copy of the project files on your - system: You need this source - directory available on your host system. + system: You need this Source + Directory available on your host system. Having these files on your system gives you access to the build process and to the tools you need. - For information on how to set up the source directory, see the + For information on how to set up the Source Directory, see the "Getting Setup" section. Establish a local copy of the base BSP files: Having the BSP files on your system gives you access to the build @@ -159,7 +159,7 @@ Yocto Project release: atom-pc, beagleboard, mpc8315e, and routerstationpro. The recipes and configurations for these four BSPs are located and dispersed - within the source directory. + within the Source Directory. On the other hand, BSP layers for Cedar Trail, Chief River, Crown Bay, Crystal Forest, Emenlow, Fish River, Fish River 2, Jasper Forest, N450, Romley, sys940x, Sugar Bay, and tlk exist in their own separate layers @@ -172,7 +172,7 @@ configuration information. You can see the standard layout for the Crown Bay BSP in this example by examining the directory structure of the meta-crownbay layer inside the - source directory. + Source Directory. Make configuration changes to your new BSP layer: The standard BSP layer structure organizes the files you need to edit in conf and several recipes-* @@ -428,7 +428,7 @@ fragments, new kernel recipes, and the kernel .bbappend file used during the build. It is good practice to set this repository up inside your local - source directory. + Source Directory. For information on how to get these files, see the bulleted item "The poky-extras Git Repository" earlier in this manual. @@ -1442,7 +1442,7 @@ directory. to open a new recipe wizard. Point to your source by filling in the "SRC_URL" field. For example, you can add a recipe to your - source directory + Source Directory by defining "SRC_URL" as follows: ftp://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz @@ -1554,7 +1554,7 @@ directory. S variable. Below is the default value for the S variable as defined in the meta/conf/bitbake.conf configuration file in the - source directory: + Source Directory: S = ${WORKDIR}/${BP} @@ -1579,7 +1579,8 @@ directory. ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR} Let's look at an example without variables. - Assuming a top-level source directory named poky + Assuming a top-level Source Directory + named poky and a default build directory of poky/build, the following is the work directory for the acl package: @@ -1592,7 +1593,7 @@ directory. ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}-${PV}-${PR} - Again, assuming top-level source directory named poky + Again, assuming top-level Source Directory named poky and a default build directory of poky/build, the following is the work directory for the acl package that is being built for a MIPS-based device: @@ -1918,7 +1919,7 @@ directory. or compile commands as if they were being run by the OpenEmbedded build system itself. As noted earlier, the working directory also automatically changes to the - source directory (S). + Source Directory (S).