ref-manual: Updated the BBPATH glossary term

Fixes [YOCTO #5063]

Provided a brief note that tells the user how to set BBPATH
if they are going to run BitBake from any directory outside of
the build directory.

(From yocto-docs rev: 89b31f252237113638acea4634a65ea9ff241b5e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-10-01 09:17:16 -07:00 committed by Richard Purdie
parent a81bfcb91f
commit 1cd0b1ea1c
1 changed files with 20 additions and 2 deletions

View File

@ -724,8 +724,26 @@ Core layer for images cannot be removed
<glossentry id='var-BBPATH'><glossterm>BBPATH</glossterm>
<glossdef>
<para>Used by BitBake to locate <filename>.bbclass</filename> and configuration files.
This variable is analogous to the <filename>PATH</filename> variable.</para>
<para>
Used by BitBake to locate
<filename>.bbclass</filename> and configuration files.
This variable is analogous to the
<filename>PATH</filename> variable.
<note>
If you run BitBake from a directory outside of the
<ulink url='&YOCTO_DOCS_DEV_URL;build-directory'>Build Directory</ulink>,
you must be sure to set
<filename>BBPATH</filename> to point to the
Build Directory.
Set the variable as you would any environment variable
and then run BitBake:
<literallayout class='monospaced'>
$ BBPATH = "&lt;build_directory&gt;"
$ export BBPATH
$ bitbake &lt;target&gt;
</literallayout>
</note>
</para>
</glossdef>
</glossentry>