utils: Handle MLPREFIX in all_multilib_tune_values()

MLPREFIX wasn't being set by the function correctly since its
not an overridden value but directly set. Handle this variable
explicitly so the function returns the expected values.

(From OE-Core rev: 99997043d4106cb8a93a5f4512f1ef6f063a1895)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2015-07-31 11:24:01 +01:00
parent f351c031a9
commit 146905a33c
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = '
localdata = bb.data.createCopy(d)
overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item
localdata.setVar("OVERRIDES", overrides)
localdata.setVar("MLPREFIX", item + "-")
bb.data.update_data(localdata)
value = localdata.getVar(var, True) or ""
if value != "":