summaryrefslogtreecommitdiffstats
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:34:22 +0100
commit4da8c86ca2b376149d425480e11ea1704dbc3ede (patch)
tree56f07c283a7b4451690a74d23f4bca611985b675 /meta/lib
parente4921fda5b3a18c797acd267f2b1179ac032cd42 (diff)
downloadpoky-4da8c86ca2b376149d425480e11ea1704dbc3ede.tar.gz
oe.data: expand the flags
(From OE-Core rev: 8b9de6d2ad2d351bbc288cbb12562806ba8edae2) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
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)