]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
staging: Separate out different multiconfig manifests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Mar 2023 17:57:15 +0000 (17:57 +0000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 21 Mar 2023 02:38:51 +0000 (16:38 -1000)
"""
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.

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>
meta/classes/staging.bbclass

index 78eb9149210383898d23dcca0a329c779d0e1abe..4177e6cf05967aa6552d61aee1eced93d9a019f7 100644 (file)
@@ -267,6 +267,9 @@ python extend_recipe_sysroot() {
     pn = d.getVar("PN")
     stagingdir = d.getVar("STAGING_DIR")
     sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests"
+    mlprefix = d.getVar("MLPREFIX")
+    if mlprefix:
+        sharedmanifests = sharedmanifests + "/" + mlprefix
     recipesysroot = d.getVar("RECIPE_SYSROOT")
     recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE")