diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-10-01 09:17:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-01 22:52:55 +0100 |
commit | 1cd0b1ea1ce0291efa5e5288d33da60271d00fa1 (patch) | |
tree | ae9c0cf8d5a82f504bb17d21fa6541ac5870b837 /documentation | |
parent | a81bfcb91fe2cd21b7aa1bd1385e6d75428009dc (diff) | |
download | poky-1cd0b1ea1ce0291efa5e5288d33da60271d00fa1.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 22 |
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 = "<build_directory>" | ||
742 | $ export BBPATH | ||
743 | $ bitbake <target> | ||
744 | </literallayout> | ||
745 | </note> | ||
746 | </para> | ||
729 | </glossdef> | 747 | </glossdef> |
730 | </glossentry> | 748 | </glossentry> |
731 | 749 | ||