summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-03-29 12:53:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-20 17:33:17 +0100
commit8b9de6d2ad2d351bbc288cbb12562806ba8edae2 (patch)
treeb9dc0e790d2e0d720e6e341ab320416c0de9f667 /meta/lib
parenta04ce490e933fc7534db33f635b025c25329c564 (diff)
downloadopenembedded-core-8b9de6d2ad2d351bbc288cbb12562806ba8edae2.tar.gz
openembedded-core-8b9de6d2ad2d351bbc288cbb12562806ba8edae2.tar.bz2
openembedded-core-8b9de6d2ad2d351bbc288cbb12562806ba8edae2.zip
oe.data: expand the flags
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'meta/lib')
-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)