summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-06 17:57:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-23 22:45:34 +0000
commit7767b14a3455a6dad797609729662f9edb2dd3ba (patch)
treeee01dff68d76a9bf4812be6c3b0f8d60692561a9 /meta/classes
parentce8b6e27a654ebcb96d54137f681fd29d4ee6039 (diff)
downloadpoky-7767b14a3455a6dad797609729662f9edb2dd3ba.tar.gz
staging: Separate out different multiconfig manifests
""" require conf/multilib.conf MACHINE = "qemuarm64" MULTILIBS = "multilib:lib32" DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon" bitbake gcc-cross-canadian-arm """ and then inspecting the lib32* manifest files under recipe-sysroot-native shows them referencing lib32-recipe-sysroot instead of recipe-sysroot as used by gcc-cross-canadian recipes. To fix this separate out the manifest by multilib. It is caching mechanism to optimise disk usage so this doesn't break anything, just separated out some files. (From OE-Core rev: 29f7390add28d3a6fb6854bc750d1db3d969f027) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 891d3faa3ed3d1cc231da58e5fa1325f05d5ade5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/staging.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index bf8ca58b0b..885bd347e0 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -269,6 +269,9 @@ python extend_recipe_sysroot() {
269 pn = d.getVar("PN") 269 pn = d.getVar("PN")
270 stagingdir = d.getVar("STAGING_DIR") 270 stagingdir = d.getVar("STAGING_DIR")
271 sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests" 271 sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests"
272 mlprefix = d.getVar("MLPREFIX")
273 if mlprefix:
274 sharedmanifests = sharedmanifests + "/" + mlprefix
272 recipesysroot = d.getVar("RECIPE_SYSROOT") 275 recipesysroot = d.getVar("RECIPE_SYSROOT")
273 recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") 276 recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE")
274 277