diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-03-29 12:53:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-20 17:33:17 +0100 |
commit | 8b9de6d2ad2d351bbc288cbb12562806ba8edae2 (patch) | |
tree | b9dc0e790d2e0d720e6e341ab320416c0de9f667 /meta | |
parent | a04ce490e933fc7534db33f635b025c25329c564 (diff) | |
download | openembedded-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')
-rw-r--r-- | meta/lib/oe/data.py | 5 |
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) |