summaryrefslogtreecommitdiff
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 8b7c3cd78..4b4d03eaa 100644
--- a/meta/lib/oe/data.py
+++ b/meta/lib/oe/data.py
@@ -6,6 +6,11 @@ def typed_value(key, d):
to determine the type and parameters for construction."""
var_type = d.getVarFlag(key, 'type')
flags = d.getVarFlags(key)
+ if flags is not None:
+ flags = dict((flag, bb.data.expand(value, d))
+ for flag, value in flags.iteritems())
+ else:
+ flags = {}
try:
return oe.maketype.create(d.getVar(key, True) or '', var_type, **flags)