From c390221fc802d1a6d91542cf2b2202be97a44526 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 4 Mar 2014 14:03:01 -0600 Subject: bitbake: user-manual-metadata.xml: Added BB_ORIGENV example. (Bitbake rev: d4328e2df355252870c3bf01031538a77795cedb) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- bitbake/doc/user-manual/user-manual-metadata.xml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 @@ such as getVar(). The datastore object is useful, for example, to find the original DISPLAY variable. + Here is an example: + + BB_ORIGENV - add example? + + origenv = d.getVar("BB_ORIGENV", False) + bar = origenv.getVar("BAR", False) + + The previous example returns BAR from the original + execution environment. -- cgit v1.2.3-54-g00ecf