Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] utils: Handle MLPREFIX in all_multilib_tune_values()
@ 2015-07-31 10:24 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-07-31 10:24 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 80e90e8..81b92cb 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 = '
         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 != "":




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-31 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 10:24 [PATCH] utils: Handle MLPREFIX in all_multilib_tune_values() Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox