bitbake: user-manual-metadata.xml: Added BB_ORIGENV example.

(Bitbake rev: d4328e2df355252870c3bf01031538a77795cedb)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2014-03-04 14:03:01 -06:00
committed by Richard Purdie
parent 74d2a10871
commit c390221fc8

View File

@@ -896,6 +896,15 @@
such as <filename>getVar()</filename>.
The datastore object is useful, for example, to find the original
<filename>DISPLAY</filename> variable.
Here is an example:
<literallayout class='monospaced'>
BB_ORIGENV - add example?
origenv = d.getVar("BB_ORIGENV", False)
bar = origenv.getVar("BAR", False)
</literallayout>
The previous example returns <filename>BAR</filename> from the original
execution environment.
</para>
<para>