From 1628d3c4c5ad3e8155e973c9a7003f1f14a9087f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 1 Oct 2012 11:56:49 -0700 Subject: [PATCH] documentation: dev-manual - Update to package/recipe wording The example that describes changing the source code usees the P* variables extensively to refer to names of the recipes. The wording used was antiquated and exclusively referred to "Packages." I changed to reflect the fact that P* variables in general are refering the recipes and not the packages. (From yocto-docs rev: bd3ef1c46fc7a3b0b2ff5ab60dc52e125f080e24) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-model.xml | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index 5035c95043..7ab9e015a6 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -1577,8 +1577,9 @@ directory. For example, recipes that fetch their source from Git usually set S to ${WORKDIR}/git. - BP represents the "Base Package", which is the base package - name and the package version: + The + BP + represents the base recipe name, which consists of the name and version: BP = ${BPN}-${PV} @@ -1588,8 +1589,9 @@ directory. The path to the work directory for the recipe (WORKDIR) depends - on the package name and the architecture of the target device. - For example, here is the work directory for packages whose targets are not device-dependent: + on the recipe name and the architecture of the target device. + For example, here is the work directory for recipes and resulting packages that are + not device-dependent: ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR} @@ -1597,14 +1599,16 @@ directory. 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: + the following is the work directory for the acl recipe that + creates the acl package: ~/poky/build/tmp/work/i586-poky-linux/acl-2.2.51-r3 - If your package is dependent on the target device, the work directory varies slightly: + If your resulting package is dependent on the target device, + the work directory varies slightly: ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}-${PV}-${PR} @@ -1633,9 +1637,9 @@ directory. - Now that you know where to locate the directory that has the temporary source code, you can use a - Quilt or Git workflow to make your edits, test the changes, and preserve the - changes in the form of patches. + Now that you know where to locate the directory that has the temporary source code, + you can use a Quilt or Git workflow to make your edits, test the changes, + and preserve the changes in the form of patches.