Skip to contentSkip to conversation

dev-manual: explain how to properly call "bitbake-layers"

PATCH Applied Robert P. J. Day 3 participants 3 messages Jun 9 – Jun 29

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dev-manual: explain how to properly call "bitbake-layers"

Emphasize right away that calling "bitbake-layers" needs an initialized build environment to work properly -- that does not seem to be explained in that section.

---

documentation/dev-manual/layers.rst +7 -0
index b8842012e..dab1d2316 100644
@@ -11,6 +11,13 @@ see the
 ":ref:`overview-manual/yp-intro:the yocto project layer model`"
 section in the Yocto Project Overview and Concepts Manual.
 
+Note well that to properly call the ``bitbake-layers`` command explained
+below, you must first
+:ref:`initialize the build environment <dev-manual/start:Initializing the Build Environment>`
+using your project's environment setup script.
+Without an initialized environment, your shell would not
+know where to find the command or your build configuration.
+
 Creating Your Own Layer
 =======================
 
Reviewed-by on v3 1/1
#1 lore raw

Hi Robert,

Quoted 5 lines · Robert P. J. Day via lists.yoctoproject.org

Emphasize right away that calling "bitbake-layers" needs an initialized build environment to work properly -- that does not seem to be explained in that section.

Thanks!
Quentin