aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/doc
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-02-14 13:55:03 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-09 18:59:03 -0700
commit013c9d918170a821ecbb1e9b86cc1861b7785b0f (patch)
tree0a1b5faac27ec597b3db2aee359019739f138d35 /bitbake/doc
parent117726cef46fe54480181c775e483792c2c2248b (diff)
downloadopenembedded-core-contrib-013c9d918170a821ecbb1e9b86cc1861b7785b0f.tar.gz
bitbake: user-manual-intro.xml: Added sections
Added the append files and layer subsections. (Bitbake rev: 38c3ead4ac8036ac88e83a938aa4ce484d4a6a84) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
-rw-r--r--bitbake/doc/user-manual/user-manual-intro.xml55
1 files changed, 55 insertions, 0 deletions
diff --git a/bitbake/doc/user-manual/user-manual-intro.xml b/bitbake/doc/user-manual/user-manual-intro.xml
index 49694fb5c3..05a3fc8989 100644
--- a/bitbake/doc/user-manual/user-manual-intro.xml
+++ b/bitbake/doc/user-manual/user-manual-intro.xml
@@ -228,6 +228,31 @@
</para>
</section>
+ <section id='append-bbappend-files'>
+ <title>Append Files</title>
+
+ <para>
+ Append files, which are files that have the
+ <filename>.bbappend</filename> file extension, add or
+ extend build information to an existing
+ recipe file.
+ </para>
+
+ <para>
+ BitBake expects every append file to have a corresponding recipe file.
+ Furthermore, the append file and corresponding recipe file
+ must use the same root filename.
+ The filenames can differ only in the file type suffix used
+ (e.g. <filename>formfactor_0.0.bb</filename> and
+ <filename>formfactor_0.0.bbappend</filename>).
+ </para>
+
+ <para>
+ Information in append files overrides the information in the
+ similarly-named recipe file.
+ </para>
+ </section>
+
<section id='configuration-files'>
<title>Configuration Files</title>
@@ -269,6 +294,36 @@
added during the project development process.
</para>
</section>
+
+ <section id='layers'>
+ <title>Layers</title>
+
+ <para>
+ Layers allow you to isolate different types of
+ customizations from each other.
+ While you might find it tempting to keep everything in one layer
+ when working on a single project, the more modular you organize
+ your metadata, the easier it is to cope with future changes.
+ </para>
+
+ <para>
+ To illustrate how you can use layers to keep things modular,
+ consider machine customizations.
+ These types of customizations typically reside in a special layer,
+ rather than a general layer, called a Board Specific Package (BSP) Layer.
+ Furthermore, the machine customizations should be isolated from
+ recipes and metadata that support a new GUI environment, for
+ example.
+ This situation gives you a couple of layers: one for the machine
+ configurations and one for the GUI environment.
+ It is important to understand, however, that the BSP layer can still
+ make machine-specific additions to recipes within
+ the GUI environment layer without polluting the GUI layer itself
+ with those machine-specific changes.
+ You can accomplish this through a recipe that is a BitBake append
+ (<filename>.bbappend</filename>) file.
+ </para>
+ </section>
</section>
<section id='obtaining-bitbake'>