Mention existence of three supported "classes" directories
PATCH v2 1/1 Mention existence of three supported "classes" directories
Early in Section 1, mention that BitBake supports three related classes directories.
Signed-off-by Robert P. J. Day <[email protected]>
---
fix typo in first submission
doc/bitbake-user-manual/bitbake-user-manual-intro.rst +12 -0
@@ -206,6 +206,18 @@ installing (empty by default) and packaging (empty by default). These tasks are often overridden or extended by other classes added during the project development process. +.. note:: + + While BitBake comes with just the one ``base.bbclass`` file in the + ``classes`` directory, it supports class files also being installed + in related directories ``classes-global`` and ``classes-recipe`` and + will automatically search all three directories for a selected class + file. + + This means that, in this documentation, when you see a reference to + class files being in the ``classes`` directory, you can interpret that + as meaning in any one of the above three directories. + Layers ------
Hi Robert,
Quoted 20 lines · Robert P. J. Day via lists.yoctoproject.org
Early in Section 1, mention that BitBake supports three related classes directories.
Signed-off-by Robert P. J. Day <[email protected]>---
fix typo in first submission
doc/bitbake-user-manual/bitbake-user-manual-intro.rst +2
-0@@ -206,6 +206,18 @@ installing (empty by default) and packaging (empty by default). These tasks are often overridden or extended by other classes added during the project development process. +.. note:: +
doc/bitbake-user-manual/bitbake-user-manual-intro.rst installing (empty by default) and packaging (empty by default). These · line 220
Quoted 10 lines
doc/bitbake-user-manual/bitbake-user-manual-intro.rst +10
-0+ While BitBake comes with just the one ``base.bbclass`` file in the + ``classes`` directory, it supports class files also being installed + in related directories ``classes-global`` and ``classes-recipe`` and + will automatically search all three directories for a selected class + file. + + This means that, in this documentation, when you see a reference to + class files being in the ``classes`` directory, you can interpret that + as meaning in any one of the above three directories. +
Maybe we can say a few words on when one is supposed to put a class in classes-recipe, classes-global or classes directory? Using the wording from YP docs, documentation/ref-manual/classes.rst probably is good enough?
Cheers,
Quentin