summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/ref-manual/ref-variables.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 8133b9d14b..da04d03608 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -724,8 +724,26 @@ Core layer for images cannot be removed
724 724
725 <glossentry id='var-BBPATH'><glossterm>BBPATH</glossterm> 725 <glossentry id='var-BBPATH'><glossterm>BBPATH</glossterm>
726 <glossdef> 726 <glossdef>
727 <para>Used by BitBake to locate <filename>.bbclass</filename> and configuration files. 727 <para>
728 This variable is analogous to the <filename>PATH</filename> variable.</para> 728 Used by BitBake to locate
729 <filename>.bbclass</filename> and configuration files.
730 This variable is analogous to the
731 <filename>PATH</filename> variable.
732 <note>
733 If you run BitBake from a directory outside of the
734 <ulink url='&YOCTO_DOCS_DEV_URL;build-directory'>Build Directory</ulink>,
735 you must be sure to set
736 <filename>BBPATH</filename> to point to the
737 Build Directory.
738 Set the variable as you would any environment variable
739 and then run BitBake:
740 <literallayout class='monospaced'>
741 $ BBPATH = "&lt;build_directory&gt;"
742 $ export BBPATH
743 $ bitbake &lt;target&gt;
744 </literallayout>
745 </note>
746 </para>
729 </glossdef> 747 </glossdef>
730 </glossentry> 748 </glossentry>
731 749