]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: New BB_GENERATE_MIRROR_TARBALLS variable.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Wed, 18 Sep 2013 19:35:34 +0000 (12:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Sep 2013 11:20:48 +0000 (12:20 +0100)
Fixes [YOCTO #5035]

Added a new glossary entry for BB_GENERATE_MIRROR_TARBALLS
and updated the DL_DIR entry to note the ability to get these
tarballs into DL_DIR.  Cross-referenced the new variable
from DL_DIR as well.

(From yocto-docs rev: 361000877f2a13b13154e437a6c28839fa58cd5e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/ref-manual/ref-variables.xml

index 559010b0f38ceacda640a407fb01b31cdce98c21..fe1c100794fd2250addc551e8a40c053e63a2405 100644 (file)
             </glossdef>
         </glossentry>
 
+        <glossentry id='var-BB_GENERATE_MIRROR_TARBALLS'><glossterm>BB_GENERATE_MIRROR_TARBALLS</glossterm>
+            <glossdef>
+                <para>
+                    Causes tarballs of the Git repositories to be placed in the
+                    <link linkend='var-DL_DIR'><filename>DL_DIR</filename></link>
+                    directory.
+                    For performance reasons, creating and placing tarballs of
+                    the Git repositories is not the default action by the
+                    OpenEmbedded build system.
+                </para>
+            </glossdef>
+        </glossentry>
+
         <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm>
             <glossdef>
                 <para>The maximum number of tasks BitBake should run in parallel at any one time.
@@ -1283,8 +1296,20 @@ Core layer for images cannot be removed
                     <filename>DL_DIR</filename> and the build system looks there
                     first to find source tarballs.
                     <note>
-                        When wiping and rebuilding, you can preserve this
-                        directory to speed up this part of subsequent builds.
+                        <para>
+                            When wiping and rebuilding, you can preserve this
+                            directory to speed up this part of subsequent
+                            builds.
+                        </para>
+
+                        <para>
+                            Also, by default, the <filename>DL_DIR</filename>
+                            does not contain tarballs of Git directories.
+                            However, you can instruct the build process to save
+                            these tarballs to the directory by using the
+                            <link linkend='var-BB_GENERATE_MIRROR_TARBALLS'><filename>BB_GENERATE_MIRROR_TARBALLS</filename></link>
+                            variable.
+                        </para>
                     </note>
                 </para>