summaryrefslogtreecommitdiffstats
path: root/poky/meta/classes/utils.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/classes/utils.bbclass')
-rw-r--r--poky/meta/classes/utils.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/poky/meta/classes/utils.bbclass b/poky/meta/classes/utils.bbclass
index 4f016e3d0..3f4f51b56 100644
--- a/poky/meta/classes/utils.bbclass
+++ b/poky/meta/classes/utils.bbclass
@@ -338,6 +338,8 @@ def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = '
variants = d.getVar("MULTILIB_VARIANTS") or ""
for item in variants.split():
localdata = get_multilib_datastore(item, d)
+ # We need WORKDIR to be consistent with the original datastore
+ localdata.setVar("WORKDIR", d.getVar("WORKDIR"))
value = localdata.getVar(var) or ""
if value != "":
if need_split:
OpenPOWER on IntegriCloud