diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-global/staging.bbclass | 7 | ||||
-rw-r--r-- | meta/classes/multilib.bbclass | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass index e6d0d1d55c..a058d344fd 100644 --- a/meta/classes-global/staging.bbclass +++ b/meta/classes-global/staging.bbclass | |||
@@ -275,9 +275,10 @@ python extend_recipe_sysroot() { | |||
275 | pn = d.getVar("PN") | 275 | pn = d.getVar("PN") |
276 | stagingdir = d.getVar("STAGING_DIR") | 276 | stagingdir = d.getVar("STAGING_DIR") |
277 | sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests" | 277 | sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests" |
278 | mlprefix = d.getVar("MLPREFIX") | 278 | # only needed by multilib cross-canadian since it redefines RECIPE_SYSROOT |
279 | if mlprefix: | 279 | manifestprefix = d.getVar("RECIPE_SYSROOT_MANIFEST_SUBDIR") |
280 | sharedmanifests = sharedmanifests + "/" + mlprefix | 280 | if manifestprefix: |
281 | sharedmanifests = sharedmanifests + "/" + manifestprefix | ||
281 | recipesysroot = d.getVar("RECIPE_SYSROOT") | 282 | recipesysroot = d.getVar("RECIPE_SYSROOT") |
282 | recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") | 283 | recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") |
283 | 284 | ||
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 10a4ef9c37..8a1a51aaba 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -51,6 +51,7 @@ python multilib_virtclass_handler () { | |||
51 | e.data.setVar("RECIPE_SYSROOT", "${WORKDIR}/recipe-sysroot") | 51 | e.data.setVar("RECIPE_SYSROOT", "${WORKDIR}/recipe-sysroot") |
52 | e.data.setVar("STAGING_DIR_TARGET", "${WORKDIR}/recipe-sysroot") | 52 | e.data.setVar("STAGING_DIR_TARGET", "${WORKDIR}/recipe-sysroot") |
53 | e.data.setVar("STAGING_DIR_HOST", "${WORKDIR}/recipe-sysroot") | 53 | e.data.setVar("STAGING_DIR_HOST", "${WORKDIR}/recipe-sysroot") |
54 | e.data.setVar("RECIPE_SYSROOT_MANIFEST_SUBDIR", "nativesdk-" + variant) | ||
54 | e.data.setVar("MLPREFIX", variant + "-") | 55 | e.data.setVar("MLPREFIX", variant + "-") |
55 | override = ":virtclass-multilib-" + variant | 56 | override = ":virtclass-multilib-" + variant |
56 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) | 57 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + override) |