Skip to contentSkip to conversation

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

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

v2 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

---

fix stupid typo in subject line ... sorry.

documentation/dev-manual/layers.rst +6 -0
index b7624cf0e..6d0e207fc 100644
@@ -11,6 +11,12 @@ 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 initialize a 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
 =======================
 
#1 lore raw

Hi,

Quoted 16 lines · Robert P. J. Day

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.

---

fix stupid typo in subject line ... sorry.

documentation/dev-manual/layers.rst +0 -0
index b7624cf0e..6d0e207fc 100644

documentation/dev-manual/layers.rst see the · line 17

Quoted 7 lines
documentation/dev-manual/layers.rst +4 -0
@@ -11,6 +11,12 @@ 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 initialize a 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.

Can you link to "documentation/dev-manual/start.rst:Initializing the Build Environment" here?

Antonin