summaryrefslogtreecommitdiffstats
path: root/meta
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-25 23:00:59 +0000
commit1daa0b99227c2457d5fe3969929e3a413c1b3478 (patch)
tree94d4ff2a3b702e757ffae8f349347ae73f4a546d /meta
parent97b1bdd293ada9b36d0e9407bd98f3194abac693 (diff)
downloadpoky-1daa0b99227c2457d5fe3969929e3a413c1b3478.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: eb9c6f7ac91431a6296789c23900f2a3016ef619) 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')
-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 78eb914921..4177e6cf05 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -267,6 +267,9 @@ python extend_recipe_sysroot() {
267 pn = d.getVar("PN") 267 pn = d.getVar("PN")
268 stagingdir = d.getVar("STAGING_DIR") 268 stagingdir = d.getVar("STAGING_DIR")
269 sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests" 269 sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests"
270 mlprefix = d.getVar("MLPREFIX")
271 if mlprefix:
272 sharedmanifests = sharedmanifests + "/" + mlprefix
270 recipesysroot = d.getVar("RECIPE_SYSROOT") 273 recipesysroot = d.getVar("RECIPE_SYSROOT")
271 recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") 274 recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE")
272 275