aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-03-29 12:53:28 -0700
committerChris Larson <chris_larson@mentor.com>2011-05-18 13:58:16 -0700
commit33f8286787326128301ce3ab8c1144bc86a9364e (patch)
treef06d26d588a7855006370a2ab49103071da4b311
parent785364ad1a2e6ce898d2a99e2e1c943d9a40767d (diff)
downloadopenembedded-core-contrib-33f8286787326128301ce3ab8c1144bc86a9364e.tar.gz
oe.data: expand the flags
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-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 8b7c3cd789..4b4d03eaa4 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)