diff options
Diffstat (limited to 'documentation/poky-ref-manual')
-rw-r--r-- | documentation/poky-ref-manual/ref-structure.xml | 11 | ||||
-rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 33 | ||||
-rw-r--r-- | documentation/poky-ref-manual/technical-details.xml | 6 |
3 files changed, 48 insertions, 2 deletions
diff --git a/documentation/poky-ref-manual/ref-structure.xml b/documentation/poky-ref-manual/ref-structure.xml index c2644df374..166907ceef 100644 --- a/documentation/poky-ref-manual/ref-structure.xml +++ b/documentation/poky-ref-manual/ref-structure.xml | |||
@@ -247,11 +247,20 @@ | |||
247 | <title><filename>build/conf/bblayers.conf</filename></title> | 247 | <title><filename>build/conf/bblayers.conf</filename></title> |
248 | 248 | ||
249 | <para> | 249 | <para> |
250 | This file defines layers, which is a directory tree, traversed (or walked) by BitBake. | 250 | This file defines layers, which are directory trees, traversed (or walked) by BitBake. |
251 | If <filename>bblayers.conf</filename> | 251 | If <filename>bblayers.conf</filename> |
252 | is not present, it is created from <filename>bblayers.conf.sample</filename> when | 252 | is not present, it is created from <filename>bblayers.conf.sample</filename> when |
253 | you <filename>source</filename> the environment setup script. | 253 | you <filename>source</filename> the environment setup script. |
254 | </para> | 254 | </para> |
255 | |||
256 | <para> | ||
257 | The <filename>bblayers.conf</filename> file uses the | ||
258 | <link linkend='var-BBLAYERS'><filename>BBLAYERS</filename></link> variable to | ||
259 | list the layers BitBake tries to find. | ||
260 | The file uses the | ||
261 | <link linkend='var-BBLAYERS_NON_REMOVABLE'><filename>BBLAYERS_NON_REMOVABLE</filename></link> | ||
262 | variable to list layers that must not be removed. | ||
263 | </para> | ||
255 | </section> | 264 | </section> |
256 | 265 | ||
257 | <section id='structure-build-conf-sanity_info'> | 266 | <section id='structure-build-conf-sanity_info'> |
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 9ced42499e..0de6bfcf5c 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
@@ -422,6 +422,11 @@ | |||
422 | /home/scottrif/poky/meta-yocto-bsp \ | 422 | /home/scottrif/poky/meta-yocto-bsp \ |
423 | /home/scottrif/poky/meta-mykernel \ | 423 | /home/scottrif/poky/meta-mykernel \ |
424 | " | 424 | " |
425 | |||
426 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
427 | /home/scottrif/poky/meta \ | ||
428 | /home/scottrif/poky/meta-yocto \ | ||
429 | " | ||
425 | </literallayout> | 430 | </literallayout> |
426 | This example enables four layers, one of which is a custom, user-defined layer | 431 | This example enables four layers, one of which is a custom, user-defined layer |
427 | named <filename>meta-mykernel</filename>. | 432 | named <filename>meta-mykernel</filename>. |
@@ -429,6 +434,34 @@ | |||
429 | </glossdef> | 434 | </glossdef> |
430 | </glossentry> | 435 | </glossentry> |
431 | 436 | ||
437 | <glossentry id='var-BBLAYERS_NON_REMOVABLE'><glossterm>BBLAYERS_NON_REMOVABLE</glossterm> | ||
438 | <glossdef> | ||
439 | Core layer for images cannot be removed | ||
440 | <para>Lists core layers that cannot be removed from the | ||
441 | <filename>bblayers.conf</filename> file. | ||
442 | In order for BitBake to build your image, your | ||
443 | <filename>bblayers.conf</filename> file must include the | ||
444 | <filename>meta</filename> and <filename>meta-yocto</filename> | ||
445 | core layers. | ||
446 | Here is an example that shows these two layers listed in | ||
447 | the <filename>BBLAYERS_NON_REMOVABLE</filename> statement: | ||
448 | <literallayout class='monospaced'> | ||
449 | BBLAYERS = " \ | ||
450 | /home/scottrif/poky/meta \ | ||
451 | /home/scottrif/poky/meta-yocto \ | ||
452 | /home/scottrif/poky/meta-yocto-bsp \ | ||
453 | /home/scottrif/poky/meta-mykernel \ | ||
454 | " | ||
455 | |||
456 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
457 | /home/scottrif/poky/meta \ | ||
458 | /home/scottrif/poky/meta-yocto \ | ||
459 | " | ||
460 | </literallayout> | ||
461 | </para> | ||
462 | </glossdef> | ||
463 | </glossentry> | ||
464 | |||
432 | <glossentry id='var-BP'><glossterm>BP</glossterm> | 465 | <glossentry id='var-BP'><glossterm>BP</glossterm> |
433 | <glossdef> | 466 | <glossdef> |
434 | <para>The base recipe name and version but without any special | 467 | <para>The base recipe name and version but without any special |
diff --git a/documentation/poky-ref-manual/technical-details.xml b/documentation/poky-ref-manual/technical-details.xml index 654d9252a9..042a96ed87 100644 --- a/documentation/poky-ref-manual/technical-details.xml +++ b/documentation/poky-ref-manual/technical-details.xml | |||
@@ -662,7 +662,11 @@ | |||
662 | /home/nitin/prj/poky.git/meta-yocto \ | 662 | /home/nitin/prj/poky.git/meta-yocto \ |
663 | /home/nitin/prj/poky.git/meta-yocto-bsp \ | 663 | /home/nitin/prj/poky.git/meta-yocto-bsp \ |
664 | /home/nitin/prj/meta-x32.git \ | 664 | /home/nitin/prj/meta-x32.git \ |
665 | " | 665 | " |
666 | BBLAYERS_NON_REMOVABLE ?= " \ | ||
667 | /home/nitin/prj/poky.git/meta \ | ||
668 | /home/nitin/prj/poky.git/meta-yocto \ | ||
669 | " | ||
666 | </literallayout></para></listitem> | 670 | </literallayout></para></listitem> |
667 | <listitem><para>Enable the x32 psABI tuning file for <filename>x86_64</filename> | 671 | <listitem><para>Enable the x32 psABI tuning file for <filename>x86_64</filename> |
668 | machines by editing the <filename>conf/local.conf</filename> like this: | 672 | machines by editing the <filename>conf/local.conf</filename> like this: |