summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 76a4ef650d..7c39db9157 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -31,8 +31,12 @@ def oe_import(d):
31 imported = __import__(toimport) 31 imported = __import__(toimport)
32 inject(toimport.split(".", 1)[0], imported) 32 inject(toimport.split(".", 1)[0], imported)
33 33
34 return ""
35
36# We need the oe module name space early (before INHERITs get added)
37OE_IMPORTED := "${@oe_import(d)}"
38
34python oe_import_eh () { 39python oe_import_eh () {
35 oe_import(e.data)
36 e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data)) 40 e.data.setVar("NATIVELSBSTRING", lsb_distro_identifier(e.data))
37} 41}
38 42