From 87133d137ab84cf3d9332bba83f75bda2f2a6552 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 22 Feb 2012 09:24:39 -0600 Subject: documentation/dev-manual/dev-manual-common-tasks.xml: Review comments Applied Paul Eggleton's review comments. Basically trying to clarify what is the S variable and what is the WORKDIR variable when determining where unpacked source files are. (From yocto-docs rev: e139e441653fa00309de204b7ad9f5a7ad7bdcb8) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 31 ++++++++++++++-------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 9a5160cd9e..c675a373bf 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -773,7 +773,10 @@ so that there are some definite steps on how to do this. I need more detail her During a build, the unpacked temporary source code used by recipes to build packages is available in the Yocto Project build directory as defined by the - S variable: + S variable. + Below is the default value for the S variable as defined in the + /conf/local.conf configuration file in the Yocto + Project's Build Directory: S = ${WORKDIR}/${PN}-${PV} @@ -781,9 +784,15 @@ so that there are some definite steps on how to do this. I need more detail her The actual location within the build directory for the temporary source code - depends on the package name and the architecture of the target device. + depends on the package name and the architecture of the target device, + which are part of the + WORKDIR variable's definition. + + + Here is the temporary source code location for packages whose targets are not - device-dependent: + device-dependent. + This location comprises WORKDIR: ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR} @@ -815,15 +824,15 @@ so that there are some definite steps on how to do this. I need more detail her To better understand how the Yocto Project build system resolves directories during the build process, see the glossary entries for the - WORKDIR, - TMPDIR, - TOPDIR, - PACKAGE_ARCH, - TARGET_OS, - PN, - PV, + WORKDIR, + TMPDIR, + TOPDIR, + PACKAGE_ARCH, + TARGET_OS, + PN, + PV, and - PR + PR variables in the Yocto Project Reference Manual. -- cgit v1.2.3-54-g00ecf