bitbake: bitbake-user-manual: Fixed override operator syntax.
I had inconsistent usage of the "_append" style operator syntax in the chaper. I was using a mix of <filename>_append</filename> and "_append". I changed to "_append" for consistency. (Bitbake rev: 5c5b88e402376268baa15c5d04d2592f28d76751) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6aaf379119
commit
eb282b797e
|
@ -280,8 +280,7 @@
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Like <filename>_append</filename> and
|
Like "_append" and "_prepend", "_remove"
|
||||||
<filename>_prepend</filename>, <filename>_remove</filename>
|
|
||||||
is deferred until after parsing completes.
|
is deferred until after parsing completes.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
@ -294,7 +293,7 @@
|
||||||
"_append", "_prepend", and "_remove" as compared to the
|
"_append", "_prepend", and "_remove" as compared to the
|
||||||
"+=" and "=+" operators is that the override style
|
"+=" and "=+" operators is that the override style
|
||||||
operators provide guaranteed operations.
|
operators provide guaranteed operations.
|
||||||
For example, consider a class iilename>foo.bbclass</filename>
|
For example, consider a class <filename>foo.bbclass</filename>
|
||||||
that needs to add the value "val" to the variable
|
that needs to add the value "val" to the variable
|
||||||
<filename>FOO</filename>, and a recipe that uses
|
<filename>FOO</filename>, and a recipe that uses
|
||||||
<filename>foo.bbclass</filename> as follows:
|
<filename>foo.bbclass</filename> as follows:
|
||||||
|
@ -350,8 +349,7 @@
|
||||||
You can define, append, and prepend values to variable flags.
|
You can define, append, and prepend values to variable flags.
|
||||||
All the standard syntax operations previously mentioned work
|
All the standard syntax operations previously mentioned work
|
||||||
for variable flags except for override style syntax
|
for variable flags except for override style syntax
|
||||||
(i.e. <filename>_prepend</filename>, <filename>_append</filename>,
|
(i.e. "_prepend", "_append", and "_remove").
|
||||||
and <filename>_remove</filename>).
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -645,7 +643,7 @@
|
||||||
Initially, <filename>A</filename> is set to "1 45" because
|
Initially, <filename>A</filename> is set to "1 45" because
|
||||||
of the three statements that use immediate operators.
|
of the three statements that use immediate operators.
|
||||||
After these assignments are made, BitBake applies the
|
After these assignments are made, BitBake applies the
|
||||||
<filename>_append</filename> operations.
|
"_append" operations.
|
||||||
Those operations result in <filename>A</filename> becoming "1 4523".
|
Those operations result in <filename>A</filename> becoming "1 4523".
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue