diff options
| -rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index e9bc81fe7b..02b949dc99 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
| @@ -1467,10 +1467,26 @@ | |||
| 1467 | <glossentry id='var-S'><glossterm>S</glossterm> | 1467 | <glossentry id='var-S'><glossterm>S</glossterm> |
| 1468 | <glossdef> | 1468 | <glossdef> |
| 1469 | <para> | 1469 | <para> |
| 1470 | The path to unpacked sources. | 1470 | The location in the <ulink url='http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#yocto-project-build-directory'> |
| 1471 | By default, this path is as follows: | 1471 | Yocto Project Build Directory</ulink> where unpacked package source code resides. |
| 1472 | This location is within the working directory | ||
| 1473 | (<filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>), which | ||
| 1474 | is not static. | ||
| 1475 | The unpacked source location depends on the package name | ||
| 1476 | (<filename><link linkend='var-PN'>PN</link></filename>) and | ||
| 1477 | package version (<filename><link linkend='var-PV'>PV</link></filename>) as | ||
| 1478 | follows: | ||
| 1472 | <literallayout class='monospaced'> | 1479 | <literallayout class='monospaced'> |
| 1473 | ${<link linkend='var-WORKDIR'>WORKDIR</link>}/${<link linkend='var-PN'>PN</link>}-${<link linkend='var-PV'>PV</link>} | 1480 | ${WORKDIR}/${PN}-${PV} |
| 1481 | </literallayout> | ||
| 1482 | As an example, assume a | ||
| 1483 | <ulink url='http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#yocto-project-files'> | ||
| 1484 | Yocto Project Files</ulink> top-level directory named <filename>poky</filename> | ||
| 1485 | and a default Yocto Project Build Directory of <filename>poky/build</filename>. | ||
| 1486 | In this case, the working directory the build system uses to build | ||
| 1487 | the <filename>db</filename> package is the following: | ||
| 1488 | <literallayout class='monospaced'> | ||
| 1489 | ~/poky/build/tmp/work/qemux86-poky-linux/db-5.1.19-r3/db-5.1.19 | ||
| 1474 | </literallayout> | 1490 | </literallayout> |
| 1475 | </para> | 1491 | </para> |
| 1476 | </glossdef> | 1492 | </glossdef> |
