From 4888d1e6a1507430bbb46a38422c833d4a24f579 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 7 Aug 2013 17:48:00 +0300 Subject: ref-manual, dev-manual: Review edits for Build Directory wording. Did some word-smithing to work around a false statement that implied externalsrc.bbclass needed to be inherited on a recipe-by-recipe basis. This affected the usage section and the glossary definitions for both EXTERNALSRC and EXTERNALSRC_BUILD. Also updated the "B" variable description to be more accurate in the use of the term "Build Directory." (From yocto-docs rev: 46695817b6e44cfa88161699105b8d03a5828fd2) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 4 +-- documentation/ref-manual/ref-variables.xml | 29 +++++++++++----------- 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 792568cd25..2d4282e1ce 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -3776,9 +3776,9 @@ To build from software that comes from an external source, all you - need to do is change your recipe so that it inherits + need to do is inherit externalsrc.bbclass - and then sets the + and then set the EXTERNALSRC variable to point to your external source code. Here are the statements to put in your diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index e95a08e5b1..240201068d 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -94,19 +94,22 @@ B - The Build Directory. - The OpenEmbedded build system places generated objects into the Build Directory - during a recipe's build process. + The directory within the + Build Directory + in which the OpenEmbedded build system places generated + objects during a recipe's build process. By default, this directory is the same as the S directory: B = "${WORKDIR}/${BPN}/{PV}/" - You can separate the (S) directory and the directory pointed to - by the B variable. - Most Autotools-based recipes support separating these directories. - The build system defaults to using separate directories for gcc - and some kernel recipes. + You can separate the (S) directory + and the directory pointed to by the B + variable. + Most Autotools-based recipes support separating these + directories. + The build system defaults to using separate directories for + gcc and some kernel recipes. @@ -1082,9 +1085,8 @@ Core layer for images cannot be removed EXTERNALSRC - When a recipe inherits - externalsrc.bbclass, this - variable points to the source tree, which is + If externalsrc.bbclass is inherited, + this variable points to the source tree, which is outside of the OpenEmbedded build system. When set, this variable sets the S @@ -1108,9 +1110,8 @@ Core layer for images cannot be removed EXTERNALSRC_BUILD - When a recipe inherits - externalsrc.bbclass, this - variable points to the directory in which the recipe's + If externalsrc.bbclass is inherited, + this variable points to the directory in which the recipe's source code is built, which is outside of the OpenEmbedded build system. When set, this variable sets the -- cgit v1.2.3-54-g00ecf