diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-07-02 14:34:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-03 14:55:03 +0100 |
commit | 5966b44893a39847d3d590566dd488323a11ff73 (patch) | |
tree | 4cc4c8a6fd8403ea0d9708eb9c449d1e0b8eded2 /documentation/poky-ref-manual/ref-variables.xml | |
parent | 7064538309121c23323d442db6c9f0b11c8d6431 (diff) | |
download | poky-5966b44893a39847d3d590566dd488323a11ff73.tar.gz |
documentation/poky-ref-manual: Yocto Project scrub
I have changed as many "Yocto Project" terms as possible so that
better reflect reality.
(From yocto-docs rev: 5f729e53b0cb653c97621e4e6598d9295d60ada5)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 109 |
1 files changed, 54 insertions, 55 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index c815d3cfa0..99edab592e 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
@@ -8,7 +8,7 @@ | |||
8 | <title>Reference: Variables Glossary</title> | 8 | <title>Reference: Variables Glossary</title> |
9 | 9 | ||
10 | <para> | 10 | <para> |
11 | This section lists common variables used in the Yocto Project and gives an overview | 11 | This section lists common variables used in the OpenEmbedded build system and gives an overview |
12 | of their function and contents. | 12 | of their function and contents. |
13 | </para> | 13 | </para> |
14 | 14 | ||
@@ -89,7 +89,7 @@ | |||
89 | <glossentry id='var-B'><glossterm>B</glossterm> | 89 | <glossentry id='var-B'><glossterm>B</glossterm> |
90 | <glossdef> | 90 | <glossdef> |
91 | <para> | 91 | <para> |
92 | The directory in which the Yocto Project build system places | 92 | The directory in which the OpenEmbedded build system places |
93 | generated objects during a recipe's build process. | 93 | generated objects during a recipe's build process. |
94 | By default, this directory is the same as the <link linkend='var-S'><filename>S</filename></link> | 94 | By default, this directory is the same as the <link linkend='var-S'><filename>S</filename></link> |
95 | directory: | 95 | directory: |
@@ -99,7 +99,7 @@ | |||
99 | You can separate the source directory (<filename>S</filename>) and the directory pointed to | 99 | You can separate the source directory (<filename>S</filename>) and the directory pointed to |
100 | by the <filename>B</filename> variable. | 100 | by the <filename>B</filename> variable. |
101 | Most autotools-based recipes support separating these directories. | 101 | Most autotools-based recipes support separating these directories. |
102 | The Yocto Project defaults to using separate directories for <filename>gcc</filename> | 102 | The build system defaults to using separate directories for <filename>gcc</filename> |
103 | and some kernel recipes. | 103 | and some kernel recipes. |
104 | </para> | 104 | </para> |
105 | </glossdef> | 105 | </glossdef> |
@@ -160,7 +160,7 @@ | |||
160 | </literallayout></para> | 160 | </literallayout></para> |
161 | <para>Use the <filename>BBMASK</filename> variable from within the | 161 | <para>Use the <filename>BBMASK</filename> variable from within the |
162 | <filename>conf/local.conf</filename> file found | 162 | <filename>conf/local.conf</filename> file found |
163 | in the Yocto Project build directory.</para> | 163 | in the <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>.</para> |
164 | </glossdef> | 164 | </glossdef> |
165 | </glossentry> | 165 | </glossentry> |
166 | 166 | ||
@@ -243,9 +243,9 @@ | |||
243 | 243 | ||
244 | <glossentry id='var-BBLAYERS'><glossterm>BBLAYERS</glossterm> | 244 | <glossentry id='var-BBLAYERS'><glossterm>BBLAYERS</glossterm> |
245 | <glossdef> | 245 | <glossdef> |
246 | <para>Lists the layers to enable during the Yocto Project build. | 246 | <para>Lists the layers to enable during the build. |
247 | This variable is defined in the <filename>bblayers.conf</filename> configuration | 247 | This variable is defined in the <filename>bblayers.conf</filename> configuration |
248 | file in the Yocto Project build directory. | 248 | file in the <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>. |
249 | Here is an example: | 249 | Here is an example: |
250 | <literallayout class='monospaced'> | 250 | <literallayout class='monospaced'> |
251 | BBLAYERS = " \ | 251 | BBLAYERS = " \ |
@@ -335,8 +335,8 @@ | |||
335 | <filename>/etc</filename> or <filename>${bindir}</filename> rather | 335 | <filename>/etc</filename> or <filename>${bindir}</filename> rather |
336 | than <filename>/usr/bin</filename>. | 336 | than <filename>/usr/bin</filename>. |
337 | You can find a list of these variables at the top of the | 337 | You can find a list of these variables at the top of the |
338 | <filename>/meta/conf/bitbake.conf</filename> file in the Yocto Project | 338 | <filename>/meta/conf/bitbake.conf</filename> file in the |
339 | files directory. | 339 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>. |
340 | </note> | 340 | </note> |
341 | </glossdef> | 341 | </glossdef> |
342 | </glossentry> | 342 | </glossentry> |
@@ -358,7 +358,7 @@ | |||
358 | Specifies the list of packages to be added to the image. | 358 | Specifies the list of packages to be added to the image. |
359 | This variable should only be set in the <filename>local.conf</filename> | 359 | This variable should only be set in the <filename>local.conf</filename> |
360 | configuration file found in the | 360 | configuration file found in the |
361 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-build-directory'>Yocto Project Build Directory</ulink>. | 361 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>. |
362 | </para> | 362 | </para> |
363 | 363 | ||
364 | <para> | 364 | <para> |
@@ -479,7 +479,7 @@ | |||
479 | This directory is self-maintaining and you should not have | 479 | This directory is self-maintaining and you should not have |
480 | to touch it. | 480 | to touch it. |
481 | By default, the directory is <filename>downloads</filename> in the | 481 | By default, the directory is <filename>downloads</filename> in the |
482 | Yocto Project build directory. | 482 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>. |
483 | <literallayout class='monospaced'> | 483 | <literallayout class='monospaced'> |
484 | #DL_DIR ?= "${TOPDIR}/downloads" | 484 | #DL_DIR ?= "${TOPDIR}/downloads" |
485 | </literallayout> | 485 | </literallayout> |
@@ -635,8 +635,8 @@ | |||
635 | <filename>/etc</filename> or <filename>${bindir}</filename> rather | 635 | <filename>/etc</filename> or <filename>${bindir}</filename> rather |
636 | than <filename>/usr/bin</filename>. | 636 | than <filename>/usr/bin</filename>. |
637 | You can find a list of these variables at the top of the | 637 | You can find a list of these variables at the top of the |
638 | <filename>/meta/conf/bitbake.conf</filename> file in the Yocto Project | 638 | <filename>/meta/conf/bitbake.conf</filename> file in the |
639 | files directory. | 639 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>. |
640 | </note> | 640 | </note> |
641 | 641 | ||
642 | <para> | 642 | <para> |
@@ -655,7 +655,7 @@ | |||
655 | <glossentry id='var-FILESEXTRAPATHS'><glossterm>FILESEXTRAPATHS</glossterm> | 655 | <glossentry id='var-FILESEXTRAPATHS'><glossterm>FILESEXTRAPATHS</glossterm> |
656 | <glossdef> | 656 | <glossdef> |
657 | <para> | 657 | <para> |
658 | Extends the search path the Yocto Project build system uses when | 658 | Extends the search path the OpenEmbedded build system uses when |
659 | looking for files and patches as it processes recipes. | 659 | looking for files and patches as it processes recipes. |
660 | The directories BitBake uses when it processes recipes is defined by the | 660 | The directories BitBake uses when it processes recipes is defined by the |
661 | <link linkend='var-FILESPATH'><filename>FILESPATH</filename></link> variable. | 661 | <link linkend='var-FILESPATH'><filename>FILESPATH</filename></link> variable. |
@@ -691,7 +691,7 @@ | |||
691 | <glossentry id='var-FILESPATH'><glossterm>FILESPATH</glossterm> | 691 | <glossentry id='var-FILESPATH'><glossterm>FILESPATH</glossterm> |
692 | <glossdef> | 692 | <glossdef> |
693 | <para> | 693 | <para> |
694 | The default set of directories the Yocto Project build system uses | 694 | The default set of directories the OpenEmbedded build system uses |
695 | when searching for patches and files. | 695 | when searching for patches and files. |
696 | During the build process, BitBake searches each directory in | 696 | During the build process, BitBake searches each directory in |
697 | <filename>FILESPATH</filename> in the specified order when looking for | 697 | <filename>FILESPATH</filename> in the specified order when looking for |
@@ -702,7 +702,7 @@ | |||
702 | The default value for the <filename>FILESPATH</filename> variable is defined | 702 | The default value for the <filename>FILESPATH</filename> variable is defined |
703 | in the <filename>base.bbclass</filename> class found in | 703 | in the <filename>base.bbclass</filename> class found in |
704 | <filename>meta/classes</filename> in the | 704 | <filename>meta/classes</filename> in the |
705 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-files'>Yocto Project Files</ulink>: | 705 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>: |
706 | <literallayout class='monospaced'> | 706 | <literallayout class='monospaced'> |
707 | FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | 707 | FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ |
708 | "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", \ | 708 | "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", \ |
@@ -727,16 +727,17 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
727 | possible. | 727 | possible. |
728 | </para> | 728 | </para> |
729 | <para> | 729 | <para> |
730 | By default, the Yocto Project uses the <filename>fs-perms.txt</filename>, which | 730 | By default, the OpenEmbedded build system uses the <filename>fs-perms.txt</filename>, which |
731 | is located in the <filename>meta/files</filename> directory of the Yocto Project | 731 | is located in the <filename>meta/files</filename> folder in the |
732 | files directory. | 732 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>. |
733 | If you create your own file permissions setting table, you should place it in your | 733 | If you create your own file permissions setting table, you should place it in your |
734 | layer or the distros layer. | 734 | layer or the distros layer. |
735 | </para> | 735 | </para> |
736 | <para> | 736 | <para> |
737 | You define the <filename>FILESYSTEM_PERMS_TABLES</filename> variable in the | 737 | You define the <filename>FILESYSTEM_PERMS_TABLES</filename> variable in the |
738 | <filename>conf/local.conf</filename> file, which is found in the Yocto Project's | 738 | <filename>conf/local.conf</filename> file, which is found in the |
739 | build directory, to point to your custom <filename>fs-perms.txt</filename>. | 739 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>, to |
740 | point to your custom <filename>fs-perms.txt</filename>. | ||
740 | You can specify more than a single file permissions setting table. | 741 | You can specify more than a single file permissions setting table. |
741 | The paths you specify to these files must be defined within the | 742 | The paths you specify to these files must be defined within the |
742 | <filename>BBPATH</filename> variable. | 743 | <filename>BBPATH</filename> variable. |
@@ -785,7 +786,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
785 | Note that you can add extra features to the image by using the | 786 | Note that you can add extra features to the image by using the |
786 | <filename><link linkend='var-EXTRA_IMAGE_FEATURES'>EXTRA_IMAGE_FEATURES</link></filename> variable. | 787 | <filename><link linkend='var-EXTRA_IMAGE_FEATURES'>EXTRA_IMAGE_FEATURES</link></filename> variable. |
787 | See the "<link linkend="ref-features-image">Reference: Images</link>" section for the | 788 | See the "<link linkend="ref-features-image">Reference: Images</link>" section for the |
788 | list of features present in images built by the Yocto Project.</para> | 789 | list of features present in images built by the OpenEmbedded build system.</para> |
789 | </glossdef> | 790 | </glossdef> |
790 | </glossentry> | 791 | </glossentry> |
791 | 792 | ||
@@ -908,7 +909,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
908 | <glossdef> | 909 | <glossdef> |
909 | <para> | 910 | <para> |
910 | Defines the size in Kbytes for the generated image. | 911 | Defines the size in Kbytes for the generated image. |
911 | The Yocto Project build system determines the final size for the generated | 912 | The OpenEmbedded build system determines the final size for the generated |
912 | image using an algorithm that takes into account the initial disk space used | 913 | image using an algorithm that takes into account the initial disk space used |
913 | for the generated image, a requested size for the image, and requested | 914 | for the generated image, a requested size for the image, and requested |
914 | additional free disk space to be added to the image. | 915 | additional free disk space to be added to the image. |
@@ -1035,8 +1036,8 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1035 | 1036 | ||
1036 | <glossentry id='var-KERNEL_FEATURES'><glossterm>KERNEL_FEATURES</glossterm> | 1037 | <glossentry id='var-KERNEL_FEATURES'><glossterm>KERNEL_FEATURES</glossterm> |
1037 | <glossdef> | 1038 | <glossdef> |
1038 | <para>Includes additional metadata from the Linux Yocto kernel Git repository. | 1039 | <para>Includes additional metadata from the Yocto Project kernel Git repository. |
1039 | In the Yocto Project build system, the default Board Support Packages (BSPs) | 1040 | In the OpenEmbedded build system, the default Board Support Packages (BSPs) |
1040 | metadata is provided through | 1041 | metadata is provided through |
1041 | the <filename>KMACHINE</filename> and <filename>KBRANCH</filename> variables. | 1042 | the <filename>KMACHINE</filename> and <filename>KBRANCH</filename> variables. |
1042 | You can use the <filename>KERNEL_FEATURES</filename> variable to further | 1043 | You can use the <filename>KERNEL_FEATURES</filename> variable to further |
@@ -1049,7 +1050,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1049 | In this way, you can provide validated, but optional, sets of kernel | 1050 | In this way, you can provide validated, but optional, sets of kernel |
1050 | configurations and features.</para> | 1051 | configurations and features.</para> |
1051 | <para>For example, the following adds <filename>netfilter</filename> to all | 1052 | <para>For example, the following adds <filename>netfilter</filename> to all |
1052 | the Linux Yocto kernels and adds sound support to the <filename>qemux86</filename> | 1053 | the Yocto Project kernels and adds sound support to the <filename>qemux86</filename> |
1053 | machine: | 1054 | machine: |
1054 | <literallayout class='monospaced'> | 1055 | <literallayout class='monospaced'> |
1055 | # Add netfilter to all linux-yocto kernels | 1056 | # Add netfilter to all linux-yocto kernels |
@@ -1137,7 +1138,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1137 | <glossentry id='var-LICENSE_DIR'><glossterm>LICENSE_DIR</glossterm> | 1138 | <glossentry id='var-LICENSE_DIR'><glossterm>LICENSE_DIR</glossterm> |
1138 | <glossdef> | 1139 | <glossdef> |
1139 | <para>Path to additional licenses used during the build. | 1140 | <para>Path to additional licenses used during the build. |
1140 | By default, the Yocto Project uses <filename>COMMON_LICENSE_DIR</filename> | 1141 | By default, the OpenEmbedded build system uses <filename>COMMON_LICENSE_DIR</filename> |
1141 | to define the directory that holds common license text used during the build. | 1142 | to define the directory that holds common license text used during the build. |
1142 | The <filename>LICENSE_DIR</filename> variable allows you to extend that | 1143 | The <filename>LICENSE_DIR</filename> variable allows you to extend that |
1143 | location to other areas that have additional licenses: | 1144 | location to other areas that have additional licenses: |
@@ -1341,7 +1342,8 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1341 | <glossentry id='var-PACKAGE_CLASSES'><glossterm>PACKAGE_CLASSES</glossterm> | 1342 | <glossentry id='var-PACKAGE_CLASSES'><glossterm>PACKAGE_CLASSES</glossterm> |
1342 | <glossdef> | 1343 | <glossdef> |
1343 | <para>This variable, which is set in the <filename>local.conf</filename> configuration | 1344 | <para>This variable, which is set in the <filename>local.conf</filename> configuration |
1344 | file found in the Yocto Project file's <filename>conf</filename> directory, | 1345 | file found in the <filename>conf</filename> folder of the |
1346 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>, | ||
1345 | specifies the package manager to use when packaging data. | 1347 | specifies the package manager to use when packaging data. |
1346 | You can provide one or more arguments for the variable with the first | 1348 | You can provide one or more arguments for the variable with the first |
1347 | argument being the package manager used to create images: | 1349 | argument being the package manager used to create images: |
@@ -1534,7 +1536,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1534 | <filename><link linkend='var-RDEPENDS'>RDEPENDS</link></filename> variable. | 1536 | <filename><link linkend='var-RDEPENDS'>RDEPENDS</link></filename> variable. |
1535 | </para> | 1537 | </para> |
1536 | <para> | 1538 | <para> |
1537 | The Yocto Project build process automatically installs the list of packages | 1539 | The OpenEmbedded build process automatically installs the list of packages |
1538 | as part of the built package. | 1540 | as part of the built package. |
1539 | However, you can remove them later if you want. | 1541 | However, you can remove them later if you want. |
1540 | If, during the build, a package from the list cannot be found, the build | 1542 | If, during the build, a package from the list cannot be found, the build |
@@ -1572,8 +1574,8 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1572 | <glossentry id='var-S'><glossterm>S</glossterm> | 1574 | <glossentry id='var-S'><glossterm>S</glossterm> |
1573 | <glossdef> | 1575 | <glossdef> |
1574 | <para> | 1576 | <para> |
1575 | The location in the <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-build-directory'> | 1577 | The location in the <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink> |
1576 | Yocto Project Build Directory</ulink> where unpacked package source code resides. | 1578 | where unpacked package source code resides. |
1577 | This location is within the working directory | 1579 | This location is within the working directory |
1578 | (<filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>), which | 1580 | (<filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>), which |
1579 | is not static. | 1581 | is not static. |
@@ -1585,9 +1587,10 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1585 | ${WORKDIR}/${PN}-${PV} | 1587 | ${WORKDIR}/${PN}-${PV} |
1586 | </literallayout> | 1588 | </literallayout> |
1587 | As an example, assume a | 1589 | As an example, assume a |
1588 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-files'> | 1590 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink> top-level |
1589 | Yocto Project Files</ulink> top-level directory named <filename>poky</filename> | 1591 | folder named <filename>poky</filename> |
1590 | and a default Yocto Project Build Directory of <filename>poky/build</filename>. | 1592 | and a default <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink> |
1593 | at <filename>poky/build</filename>. | ||
1591 | In this case, the working directory the build system uses to build | 1594 | In this case, the working directory the build system uses to build |
1592 | the <filename>db</filename> package is the following: | 1595 | the <filename>db</filename> package is the following: |
1593 | <literallayout class='monospaced'> | 1596 | <literallayout class='monospaced'> |
@@ -1661,10 +1664,10 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1661 | <glossdef> | 1664 | <glossdef> |
1662 | <para></para> | 1665 | <para></para> |
1663 | <para> | 1666 | <para> |
1664 | By default, the Yocto Project automatically detects whether | 1667 | By default, the OpenEmbedded build system automatically detects whether |
1665 | <filename><link linkend='var-SRC_URI'>SRC_URI</link></filename> | 1668 | <filename><link linkend='var-SRC_URI'>SRC_URI</link></filename> |
1666 | contains files that are machine-specific. | 1669 | contains files that are machine-specific. |
1667 | If so, the Yocto Project automatically changes | 1670 | If so, the build system automatically changes |
1668 | <filename><link linkend='var-PACKAGE_ARCH'>PACKAGE_ARCH</link></filename>. | 1671 | <filename><link linkend='var-PACKAGE_ARCH'>PACKAGE_ARCH</link></filename>. |
1669 | Setting this variable to "0" disables this behavior. | 1672 | Setting this variable to "0" disables this behavior. |
1670 | </para> | 1673 | </para> |
@@ -1728,7 +1731,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1728 | <glossentry id='var-TARGET_ARCH'><glossterm>TARGET_ARCH</glossterm> | 1731 | <glossentry id='var-TARGET_ARCH'><glossterm>TARGET_ARCH</glossterm> |
1729 | <glossdef> | 1732 | <glossdef> |
1730 | <para>The architecture of the device being built. | 1733 | <para>The architecture of the device being built. |
1731 | While a number of values are possible, the Yocto Project primarily supports | 1734 | While a number of values are possible, the OpenEmbedded build system primarily supports |
1732 | <filename>arm</filename> and <filename>i586</filename>.</para> | 1735 | <filename>arm</filename> and <filename>i586</filename>.</para> |
1733 | </glossdef> | 1736 | </glossdef> |
1734 | </glossentry> | 1737 | </glossentry> |
@@ -1790,11 +1793,11 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1790 | </para> | 1793 | </para> |
1791 | <para> | 1794 | <para> |
1792 | The <filename>TCMODE</filename> variable selects the external toolchain | 1795 | The <filename>TCMODE</filename> variable selects the external toolchain |
1793 | built from the Yocto Project or a few supported combinations of | 1796 | built using the OpenEmbedded build system or a few supported combinations of |
1794 | the upstream GCC or CodeSourcery Labs toolchain. | 1797 | the upstream GCC or CodeSourcery Labs toolchain. |
1795 | The variable determines which of the <filename>tcmode-*</filename> files in | 1798 | The variable determines which of the <filename>tcmode-*</filename> files in |
1796 | the <filename>meta/conf/distro/include</filename> directory, which is found in the | 1799 | the <filename>meta/conf/distro/include</filename> directory, which is found in the |
1797 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-files'>Yocto Project Files</ulink>, | 1800 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>, |
1798 | is used. | 1801 | is used. |
1799 | </para> | 1802 | </para> |
1800 | <para> | 1803 | <para> |
@@ -1811,20 +1814,18 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1811 | <glossentry id='var-TMPDIR'><glossterm>TMPDIR</glossterm> | 1814 | <glossentry id='var-TMPDIR'><glossterm>TMPDIR</glossterm> |
1812 | <glossdef> | 1815 | <glossdef> |
1813 | <para> | 1816 | <para> |
1814 | This variable is the temporary directory the Yocto Project build system | 1817 | This variable is the temporary directory the OpenEmbedded build system |
1815 | uses when it does its work building images. | 1818 | uses when it does its work building images. |
1816 | By default, the <filename>TMPDIR</filename> variable is named | 1819 | By default, the <filename>TMPDIR</filename> variable is named |
1817 | <filename>tmp</filename> within the | 1820 | <filename>tmp</filename> within the |
1818 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-build-directory'> | 1821 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>. |
1819 | Yocto Project Build Directory</ulink>. | ||
1820 | </para> | 1822 | </para> |
1821 | 1823 | ||
1822 | <para> | 1824 | <para> |
1823 | If you want to establish this directory in a location other than the | 1825 | If you want to establish this directory in a location other than the |
1824 | default, you can uncomment the following statement in the | 1826 | default, you can uncomment the following statement in the |
1825 | <filename>conf/local.conf</filename> file in the | 1827 | <filename>conf/local.conf</filename> file in the |
1826 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-files'> | 1828 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink>: |
1827 | Yocto Project Files</ulink>: | ||
1828 | <literallayout class='monospaced'> | 1829 | <literallayout class='monospaced'> |
1829 | #TMPDIR = "${TOPDIR}/tmp" | 1830 | #TMPDIR = "${TOPDIR}/tmp" |
1830 | </literallayout> | 1831 | </literallayout> |
@@ -1836,10 +1837,9 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1836 | <glossdef> | 1837 | <glossdef> |
1837 | <para> | 1838 | <para> |
1838 | This variable is the | 1839 | This variable is the |
1839 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-build-directory'> | 1840 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>. |
1840 | Yocto Project Build Directory</ulink>. | ||
1841 | BitBake automatically sets this variable. | 1841 | BitBake automatically sets this variable. |
1842 | The Yocto Project build system uses the build directory when building images. | 1842 | The OpenEmbedded build system uses the build directory when building images. |
1843 | </para> | 1843 | </para> |
1844 | </glossdef> | 1844 | </glossdef> |
1845 | </glossentry> | 1845 | </glossentry> |
@@ -1857,7 +1857,7 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1857 | <glossentry id='var-WORKDIR'><glossterm>WORKDIR</glossterm> | 1857 | <glossentry id='var-WORKDIR'><glossterm>WORKDIR</glossterm> |
1858 | <glossdef> | 1858 | <glossdef> |
1859 | <para> | 1859 | <para> |
1860 | The pathname of the working directory in which the Yocto Project build system | 1860 | The pathname of the working directory in which the OpenEmbedded build system |
1861 | builds packages. | 1861 | builds packages. |
1862 | This directory is located within the | 1862 | This directory is located within the |
1863 | <link linkend='var-TMPDIR'><filename>TMPDIR</filename></link> directory structure and changes | 1863 | <link linkend='var-TMPDIR'><filename>TMPDIR</filename></link> directory structure and changes |
@@ -1884,11 +1884,10 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1884 | ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR} | 1884 | ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR} |
1885 | </literallayout> | 1885 | </literallayout> |
1886 | As an example, assume a | 1886 | As an example, assume a |
1887 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-files'> | 1887 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>source directory</ulink> top-level |
1888 | Yocto Project Files</ulink> top-level directory named <filename>poky</filename> | 1888 | folder name <filename>poky</filename> and a default |
1889 | and a default | 1889 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink> |
1890 | <ulink url='&YOCTO_DOCS_DEV_URL;#yocto-project-build-directory'> | 1890 | at <filename>poky/build</filename>. |
1891 | Yocto Project Build Directory</ulink> of <filename>poky/build</filename>. | ||
1892 | In this case, the working directory the build system uses to build | 1891 | In this case, the working directory the build system uses to build |
1893 | the <filename>v86d</filename> package is the following: | 1892 | the <filename>v86d</filename> package is the following: |
1894 | <literallayout class='monospaced'> | 1893 | <literallayout class='monospaced'> |
@@ -1902,9 +1901,9 @@ FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", \ | |||
1902 | <literallayout class='monospaced'> | 1901 | <literallayout class='monospaced'> |
1903 | ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}-${PV}-${PR} | 1902 | ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}-${PV}-${PR} |
1904 | </literallayout> | 1903 | </literallayout> |
1905 | As an example, again assume a Yocto Project Files top-level directory | 1904 | As an example, again assume a source directory top-level folder |
1906 | named <filename>poky</filename> and a default Yocto Project build directory | 1905 | named <filename>poky</filename> and a default build directory |
1907 | of <filename>poky/build</filename>. | 1906 | at <filename>poky/build</filename>. |
1908 | In this case, the working directory the build system uses to build | 1907 | In this case, the working directory the build system uses to build |
1909 | the <filename>acl</filename> package, which is dependent on a | 1908 | the <filename>acl</filename> package, which is dependent on a |
1910 | MIPS-based device, is the following: | 1909 | MIPS-based device, is the following: |