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>
This commit is contained in:
parent
e4921fda5b
commit
4da8c86ca2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue