summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2005-07-30 11:46:54 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2005-07-30 11:46:54 +0000
commita988b9dce2a9677968c10f4402a9cb1dcdc5882b (patch)
treee147d3af178ab7f8024d53a5607ac2bf58717cbf /doc
parent31c1e744eabbb0dd3967c0fc701f0e780c91d35c (diff)
downloadbitbake-a988b9dce2a9677968c10f4402a9cb1dcdc5882b.tar.gz
bitbake/manual/usermanual.xml:
-Add Documentation for the .= and =. operators we introduce with Bitbake 1.3.2.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/usermanual.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/manual/usermanual.xml b/doc/manual/usermanual.xml
index 3c3009d0e..5c86f1ec7 100644
--- a/doc/manual/usermanual.xml
+++ b/doc/manual/usermanual.xml
@@ -109,6 +109,15 @@ share common metadata between many packages.</para></listitem>
<para>In this example, <varname>B</varname> is now <literal>bval additionaldata</literal> and <varname>C</varname> is <literal>test cval</literal>.</para>
</section>
<section>
+ <title>Appending (.=) and prepending (=.) without spaces</title>
+ <para><screen><varname>B</varname> = "bval"
+<varname>B</varname> += "additionaldata"
+<varname>C</varname> = "cval"
+<varname>C</varname> =+ "test"</screen></para>
+ <para>In this example, <varname>B</varname> is now <literal>bvaladditionaldata</literal> and <varname>C</varname> is <literal>testcval</literal>. In contrast to the above Appending and Prepending operators no additional space
+will be introduced.</para>
+ </section>
+ <section>
<title>Conditional metadata set</title>
<para>OVERRIDES is a <quote>:</quote> seperated variable containing each item you want to satisfy conditions. So, if you have a variable which is conditional on <quote>arm</quote>, and <quote>arm</quote> is in OVERRIDES, then the <quote>arm</quote> specific version of the variable is used rather than the non-conditional version. Example:</para>
<para><screen><varname>OVERRIDES</varname> = "architecture:os:machine"