From: Jagadeesh K <workjagadeesh@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Jagadeesh K <workjagadeesh@gmail.com>
Subject: [OE-core][PATCH 1/2] meta-extsdk-toolchain: Install multilib toolchain files in the eSDK if multilib is enabled
Date: Thu, 1 Oct 2026 17:42:19 +0000 [thread overview]
Message-ID: <20261001174220.3492439-2-workjagadeesh@gmail.com> (raw)
In-Reply-To: <20261001174220.3492439-1-workjagadeesh@gmail.com>
1. Ship multilib virtual/cross-cc, virtual/compilerlibs, and virtual/libc
packages in the eSDK if it is created with multilib configuration. These
packages are required to compile source for multilib using the eSDK.
2. Include multilib tune configuration directory in SPDX_MULTILIB_SSTATE_ARCHS
to search SPDX document as meta-extsdk-toolchain is dependent on multilib recipes.
[YOCTO #14020]
Signed-off-by: Jagadeesh K <workjagadeesh@gmail.com>
---
meta/recipes-core/meta/meta-extsdk-toolchain.bb | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/meta/meta-extsdk-toolchain.bb b/meta/recipes-core/meta/meta-extsdk-toolchain.bb
index 16fe185964..2b30d89b4d 100644
--- a/meta/recipes-core/meta/meta-extsdk-toolchain.bb
+++ b/meta/recipes-core/meta/meta-extsdk-toolchain.bb
@@ -2,7 +2,22 @@ SUMMARY = "Extensible SDK toolchain meta-recipe"
DESCRIPTION = "Meta-recipe for ensuring the build directory contains all appropriate toolchain packages for using an IDE"
LICENSE = "MIT"
-DEPENDS = "virtual/libc ${MLPREFIX}gdb-cross-${TARGET_ARCH} qemu-native qemu-helper-native unfs3-native"
+DEPENDS = "virtual/libc ${MLPREFIX}gdb-cross-${TARGET_ARCH} qemu-native qemu-helper-native unfs3-native ${@add_multilib_depends(d)}"
+
+def add_multilib_depends(d):
+ mlpkgs = ""
+ for v in d.getVar('MULTILIB_VARIANTS').split():
+ localdata = bb.data.createCopy(d)
+ override = ":virtclass-multilib-" + v
+ localdata.setVar("OVERRIDES", localdata.getVar("OVERRIDES", False) + override)
+ for p in localdata.getVar('BASEDEPENDS').split():
+ pkg = localdata.getVar("PREFERRED_PROVIDER_%s" % p)
+ if pkg:
+ mlpkgs = mlpkgs + ' ' + v + '-' + pkg
+ return mlpkgs
+
+# Search the SPDX document of multilib recipe in multilib tune configuration directory.
+SPDX_MULTILIB_SSTATE_ARCHS = "${@all_multilib_tune_values(d, 'SSTATE_ARCHS')}"
do_populate_sysroot[deptask] = "do_populate_sysroot"
--
2.39.5
next prev parent reply other threads:[~2026-10-01 17:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 17:42 [OE-core][PATCH 0/2] Add support to compile source for multilib in the eSDK Jagadeesh K
2026-10-01 17:42 ` Jagadeesh K [this message]
2026-10-02 9:57 ` [OE-core][PATCH 1/2] meta-extsdk-toolchain: Install multilib toolchain files in the eSDK if multilib is enabled Mathieu Dubois-Briand
2026-10-03 2:23 ` [PATCH " Jagadeesh Krishnanjanappa
2026-10-03 15:25 ` Jagadeesh Krishnanjanappa
2026-10-01 17:42 ` [OE-core][PATCH 2/2] staging: parse multilib sstate manifest files to install multilib packages in the eSDK Jagadeesh K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261001174220.3492439-2-workjagadeesh@gmail.com \
--to=workjagadeesh@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox