From 8b9de6d2ad2d351bbc288cbb12562806ba8edae2 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 29 Mar 2011 12:53:28 -0700 Subject: oe.data: expand the flags Signed-off-by: Chris Larson --- meta/lib/oe/data.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta') 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) -- cgit v1.2.3