diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-03-04 14:03:01 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-09 18:59:04 -0700 |
commit | c390221fc802d1a6d91542cf2b2202be97a44526 (patch) | |
tree | df45372ff006542e3297f37eec48b4ad8a0cdf1e /bitbake | |
parent | 74d2a10871394d60fb3a595123d526e386a4bf55 (diff) | |
download | poky-c390221fc802d1a6d91542cf2b2202be97a44526.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/doc/user-manual/user-manual-metadata.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/doc/user-manual/user-manual-metadata.xml b/bitbake/doc/user-manual/user-manual-metadata.xml index 6736bc7b77..748b959d98 100644 --- a/bitbake/doc/user-manual/user-manual-metadata.xml +++ b/bitbake/doc/user-manual/user-manual-metadata.xml | |||
@@ -896,6 +896,15 @@ | |||
896 | such as <filename>getVar()</filename>. | 896 | such as <filename>getVar()</filename>. |
897 | The datastore object is useful, for example, to find the original | 897 | The datastore object is useful, for example, to find the original |
898 | <filename>DISPLAY</filename> variable. | 898 | <filename>DISPLAY</filename> variable. |
899 | Here is an example: | ||
900 | <literallayout class='monospaced'> | ||
901 | BB_ORIGENV - add example? | ||
902 | |||
903 | origenv = d.getVar("BB_ORIGENV", False) | ||
904 | bar = origenv.getVar("BAR", False) | ||
905 | </literallayout> | ||
906 | The previous example returns <filename>BAR</filename> from the original | ||
907 | execution environment. | ||
899 | </para> | 908 | </para> |
900 | 909 | ||
901 | <para> | 910 | <para> |