Skip to contentSkip to conversation

ref-manual: variables.rst: refer to BBPATH in the BitBake User Manual

PATCH New [email protected] 1 participant 1 message Sep 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: variables.rst: refer to BBPATH in the BitBake User Manual

From: Michael Opdenacker <[email protected]>

As reported in [YOCTO #14502], the description of BBPATH in the Yocto Project Manual is redundant with its description in the BitBake User Manual.

---

Without this redirection, the references to BBPATH would still work, as it this the case for terms only definited in the BitBake User Manual, but BBPATH would no longer appear in the variable index.

This would probably be a bad thing.

---
 documentation/ref-manual/variables.rst | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
documentation/ref-manual/variables.rst +1 -14
index fe845bf375..f6cc66e2c4 100644
@@ -729,20 +729,7 @@ system and gives an overview of their function and contents.
       section in the Yocto Project Development Tasks Manual.
 
    :term:`BBPATH`
-      Used by BitBake to locate ``.bbclass`` and configuration files. This
-      variable is analogous to the ``PATH`` variable.
-
-      .. note::
-
-         If you run BitBake from a directory outside of the
-         :term:`Build Directory`, you must be sure to set :term:`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
-
+      See :term:`bitbake:BBPATH` in the BitBake User Manual.
 
    :term:`BBSERVER`
       If defined in the BitBake environment, :term:`BBSERVER` points to the
Signature · 1 line
2.34.1