[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH] utils: Handle MLPREFIX in all_multilib_tune_values()
From: richard.purdie () linuxfoundation ! org (Richard Purdie)
Date: 2015-07-31 10:24:01
Message-ID: 1438338241.22462.6.camel () linuxfoundation ! org
[Download RAW message or body]
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 at 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 != "":
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic