From 1cd0b1ea1ce0291efa5e5288d33da60271d00fa1 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 1 Oct 2013 09:17:16 -0700 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 22 ++++++++++++++++++++-- 1 file 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 BBPATH - Used by BitBake to locate .bbclass and configuration files. - This variable is analogous to the PATH variable. + + Used by BitBake to locate + .bbclass and configuration files. + This variable is analogous to the + PATH variable. + + If you run BitBake from a directory outside of the + Build Directory, + you must be sure to set + BBPATH to point to the + Build Directory. + Set the variable as you would any environment variable + and then run BitBake: + + $ BBPATH = "<build_directory>" + $ export BBPATH + $ bitbake <target> + + +