summaryrefslogtreecommitdiffstats
path: root/meta/classes/multilib.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-03 23:59:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-04 00:01:37 +0100
commit59a0a05235d80c86251cf45d7142bfc57f2e70d2 (patch)
tree4209ead5aebbbb9492c6c7ea109dcffef47167c3 /meta/classes/multilib.bbclass
parent8ae70703f68853a8714a4fb8fa5d959b5e21a02d (diff)
downloadopenembedded-core-59a0a05235d80c86251cf45d7142bfc57f2e70d2.tar.gz
openembedded-core-59a0a05235d80c86251cf45d7142bfc57f2e70d2.tar.bz2
openembedded-core-59a0a05235d80c86251cf45d7142bfc57f2e70d2.zip
multilib: Tweak previous cross-canadian multilib fix
As well as setting RECIPE_SYSROOT we also need to set STAGING_DIR_HOST/TARGET. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r--meta/classes/multilib.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 3831d2bab2..f2ac8bdfef 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -37,6 +37,8 @@ python multilib_virtclass_handler () {
if bb.data.inherits_class('cross-canadian', e.data):
# Multilib cross-candian should use the same nativesdk sysroot without MLPREFIX
e.data.setVar("RECIPE_SYSROOT", "${WORKDIR}/recipe-sysroot")
+ e.data.setVar("STAGING_DIR_TARGET", "${WORKDIR}/recipe-sysroot")
+ e.data.setVar("STAGING_DIR_HOST", "${WORKDIR}/recipe-sysroot")
e.data.setVar("MLPREFIX", variant + "-")
override = ":virtclass-multilib-" + variant
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override)