mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
multilib: Tweak previous cross-canadian multilib fix
As well as setting RECIPE_SYSROOT we also need to set STAGING_DIR_HOST/TARGET. (From OE-Core rev: 59a0a05235d80c86251cf45d7142bfc57f2e70d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user