summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/data.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oe/data.py b/meta/lib/oe/data.py
index 8b7c3cd..4b4d03e 100644
--- a/meta/lib/oe/data.py
+++ b/meta/lib/oe/data.py
@@ -6,6 +6,11 @@ def typed_value(key, d):
6 to determine the type and parameters for construction.""" 6 to determine the type and parameters for construction."""
7 var_type = d.getVarFlag(key, 'type') 7 var_type = d.getVarFlag(key, 'type')
8 flags = d.getVarFlags(key) 8 flags = d.getVarFlags(key)
9 if flags is not None:
10 flags = dict((flag, bb.data.expand(value, d))
11 for flag, value in flags.iteritems())
12 else:
13 flags = {}
9 14
10 try: 15 try:
11 return oe.maketype.create(d.getVar(key, True) or '', var_type, **flags) 16 return oe.maketype.create(d.getVar(key, True) or '', var_type, **flags)