diff options
Diffstat (limited to 'bitbake/doc/user-manual/user-manual-metadata.xml')
-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> |