summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-12-06 13:36:03 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-07 17:13:15 +0000
commitf00ba684e0a3d1bda15a6ca06cc4cd466f1eada0 (patch)
treeb75e6f2cc535e8aaf8ea04886db8b730c1da6c20 /documentation/poky-ref-manual
parentac1981e41adc00b1c52995ddb874d50ed1ede73d (diff)
downloadpoky-f00ba684e0a3d1bda15a6ca06cc4cd466f1eada0.tar.gz
Documentation: dev-manual, bsp-guide, poky-ref-manual - bblayer.conf updates
Fixes [YOCTO #3176] Several places throughout the YP manual set examples are given for the bblayer.conf file. For release 1.3, a bug existed that surfaced when a user removed either the meta or meta-yocto layer from this configuration file. The bug has been fixed and the ripple effect through the YP documentation set affected several manuals. Fixes include updating the code samples that show bblayer.conf so that they now include the BBLAYERS_NON_REMOVABLE variable, a new glossary entry for the variable, and an explanation of both BBLAYER and BBLAYER_NON_REMOVABLE in the section that talks about the bblayer.conf file. (From yocto-docs rev: 904b9ec1cd6d823af0e92f6891fc7e434cf2e358) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual')
-rw-r--r--documentation/poky-ref-manual/ref-structure.xml11
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml33
-rw-r--r--documentation/poky-ref-manual/technical-details.xml6
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>
439Core 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: