diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 11:24:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 07:34:04 +0100 |
commit | 146905a33c736e731ac1b552bb0462397e35f4be (patch) | |
tree | 8cc68cac8340f1bfff9a8b07f528c94eb3385b7b /meta/classes/utils.bbclass | |
parent | f351c031a920834c0b8ff44c6be5dfa8bebf4885 (diff) | |
download | poky-146905a33c736e731ac1b552bb0462397e35f4be.tar.gz |
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>
Diffstat (limited to 'meta/classes/utils.bbclass')
-rw-r--r-- | meta/classes/utils.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 80e90e8777..81b92cb5eb 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass | |||
@@ -360,6 +360,7 @@ def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' | |||
360 | localdata = bb.data.createCopy(d) | 360 | localdata = bb.data.createCopy(d) |
361 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item | 361 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item |
362 | localdata.setVar("OVERRIDES", overrides) | 362 | localdata.setVar("OVERRIDES", overrides) |
363 | localdata.setVar("MLPREFIX", item + "-") | ||
363 | bb.data.update_data(localdata) | 364 | bb.data.update_data(localdata) |
364 | value = localdata.getVar(var, True) or "" | 365 | value = localdata.getVar(var, True) or "" |
365 | if value != "": | 366 | if value != "": |