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