summaryrefslogtreecommitdiffstats
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-21 14:26:31 +0000
commit3aa430708e0322e3584e98b2a63ae0396ac50952 (patch)
treee77fa00b1989cf01dec57ab2eb9a429d9caaf703
parent9790bf51a388c35b0a84b62750fd043fa00e913d (diff)
downloadpoky-3aa430708e0322e3584e98b2a63ae0396ac50952.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: f586498fbaff190d48e4fc927e324c5371df4b17) 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>
-rw-r--r--meta/classes-global/staging.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass
index 5a1f43de78..e6d0d1d55c 100644
--- a/meta/classes-global/staging.bbclass
+++ b/meta/classes-global/staging.bbclass
@@ -275,6 +275,9 @@ 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")
279 if mlprefix:
280 sharedmanifests = sharedmanifests + "/" + mlprefix
278 recipesysroot = d.getVar("RECIPE_SYSROOT") 281 recipesysroot = d.getVar("RECIPE_SYSROOT")
279 recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") 282 recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE")
280 283