diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-09-10 12:13:25 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-12 16:50:10 +0100 |
| commit | a2666193173c0eeca763f774926763e7356277f8 (patch) | |
| tree | f72dc0bc8919527029a60ee67a8d71bd3033de9c /documentation/ref-manual/ref-variables.xml | |
| parent | cc2626727c61025b5cf0fcc214ddb896de7bbc39 (diff) | |
| download | poky-a2666193173c0eeca763f774926763e7356277f8.tar.gz | |
documentation: Added the memory-resident BitBake feature
The main changes are captured in a new section devoted to the
oe-init-build-env-memres script within the ref-structure.xml
file and in the variables.xml file in a BBSERVER variable entry
in the glossary.
All other changes were necessary to integrate the new functionality
into areas where running the setup script are discussed. Before
this feature, there was a single setup script (oe-init-build-env).
Consequently, wordings and such were designed exclusively for this
single method. With the introduction of a second possible method
to initialize the build environment, tweaks to many sections were
needed. Beside the wording tweaks, appropriate cross-referencing
was also needed.
All these changes cover the integration of the new feature.
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From yocto-docs rev: c55c9a53c9b4cd1e06e6e81e32d56f9bbf5fe98c)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 2414d3b036..cb1a2913fc 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -710,6 +710,28 @@ Core layer for images cannot be removed | |||
| 710 | </glossdef> | 710 | </glossdef> |
| 711 | </glossentry> | 711 | </glossentry> |
| 712 | 712 | ||
| 713 | <glossentry id='var-BBSERVER'><glossterm>BBSERVER</glossterm> | ||
| 714 | <glossdef> | ||
| 715 | <para> | ||
| 716 | Points to the server that runs memory-resident BitBake. | ||
| 717 | This variable is set by the | ||
| 718 | <link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link> | ||
| 719 | setup script and should not be hand-edited. | ||
| 720 | The variable is only used when you employ memory-resident | ||
| 721 | BitBake. | ||
| 722 | The setup script exports the value as follows: | ||
| 723 | <literallayout class='monospaced'> | ||
| 724 | export BBSERVER=localhost:$port | ||
| 725 | </literallayout> | ||
| 726 | For more information on how the | ||
| 727 | <filename>BBSERVER</filename> is used, see the | ||
| 728 | <filename>oe-init-build-env-memres</filename> script, which | ||
| 729 | is located in the | ||
| 730 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>. | ||
| 731 | </para> | ||
| 732 | </glossdef> | ||
| 733 | </glossentry> | ||
| 734 | |||
| 713 | <glossentry id='var-BINCONFIG_GLOB'><glossterm>BINCONFIG_GLOB</glossterm> | 735 | <glossentry id='var-BINCONFIG_GLOB'><glossterm>BINCONFIG_GLOB</glossterm> |
| 714 | <glossdef> | 736 | <glossdef> |
| 715 | <para> | 737 | <para> |
| @@ -762,13 +784,16 @@ Core layer for images cannot be removed | |||
| 762 | 784 | ||
| 763 | <glossentry id='var-BUILDDIR'><glossterm>BUILDDIR</glossterm> | 785 | <glossentry id='var-BUILDDIR'><glossterm>BUILDDIR</glossterm> |
| 764 | <glossdef> | 786 | <glossdef> |
| 765 | <para>Points to the location of the | 787 | <para> |
| 788 | Points to the location of the | ||
| 766 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>. | 789 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>. |
| 767 | You can define this directory indirectly through the | 790 | You can define this directory indirectly through the |
| 768 | <link linkend='structure-core-script'><filename>&OE_INIT_FILE;</filename></link> | 791 | <link linkend='structure-core-script'><filename>&OE_INIT_FILE;</filename></link> |
| 769 | script by passing in a Build Directory path when you run the | 792 | and |
| 770 | script. | 793 | <link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link> |
| 771 | If you run the script and do not provide a Build Directory | 794 | scripts by passing in a Build Directory path when you run |
| 795 | the scripts. | ||
| 796 | If you run the scripts and do not provide a Build Directory | ||
| 772 | path, the <filename>BUILDDIR</filename> defaults to | 797 | path, the <filename>BUILDDIR</filename> defaults to |
| 773 | <filename>build</filename> in the current directory. | 798 | <filename>build</filename> in the current directory. |
| 774 | </para> | 799 | </para> |
