From: Harish Sadineni <Harish.Sadineni@windriver.com>
To: Paul Barker <paul@pbarker.dev>, openembedded-core@lists.openembedded.org
Cc: Sundeep.Kokkonda@windriver.com
Subject: Re: [PATCH v2 2/4] packagegroups: add nativesdk-packagegroup-sdk-host-rust
Date: Wed, 5 Aug 2026 18:19:09 +0530 [thread overview]
Message-ID: <97f32d03-044f-470e-937a-ec9a4724d785@windriver.com> (raw)
In-Reply-To: <151438b76ffe19c6ee5e28c446bfa29c3dde896b.camel@pbarker.dev>
On 24-07-2026 07:43 pm, Paul Barker wrote:
> On Fri, 2026-07-17 at 06:01 -0700, Harish.Sadineni@windriver.com wrote:
>> From: Harish Sadineni <Harish.Sadineni@windriver.com>
>>
>> Add a new nativesdk packagegroup providing the dependencies needed to
>> build external/out-of-tree rust modules in sdk.
>>
>> Set PACKAGE_ARCH to TUNE_PKGARCH instead of the packagegroup
>> default of "all", since nativesdk-libclang is dynamically
>> renamed per build (e.g. nativesdk-libclang22.1), which is
>> incompatible with an allarch packagegroup.
>>
>> Add this to TOOLCHAIN_HOST_TASK to include it in the SDK.
>>
>> Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
>> ---
>> .../nativesdk-packagegroup-sdk-host-rust.bb | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>> create mode 100644 meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-rust.bb
>>
>> diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-rust.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-rust.bb
>> new file mode 100644
>> index 0000000000..b10d420acd
>> --- /dev/null
>> +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host-rust.bb
>> @@ -0,0 +1,16 @@
>> +#
>> +# SPDX-License-Identifier: MIT
>> +#
>> +
>> +SUMMARY = "Dependent packages for building external rust modules"
>> +
>> +PACKAGE_ARCH = "${TUNE_PKGARCH}"
>> +
>> +inherit packagegroup
>> +inherit_defer nativesdk
>> +
>> +RDEPENDS:${PN} = "\
>> + nativesdk-rust-src-lib \
>> + nativesdk-bindgen-cli \
>> + nativesdk-libclang \
>> +"
> Hi Harish,
>
> We've merged this patch but did have a follow-up question: should this
> packagegroup include dependencies on nativesdk-rustc and
> nativesdk-rust-tools-rustfmt? If so, please send a new patch to add
> them.
Hi Paul,
nativesdk-rust and nativesdk-rust-tools-rustfmt will be added into SDK
with 'packagegroup-rust-cross-canadian'.
And, this packagegroup-rust-cross-canadian is not added here in this
package group since it will be pulled by SDK_TOOLCHAIN_LANGS = "rust"
Thanks,
Harish
>
> Best regards,
>
next prev parent reply other threads:[~2026-08-05 12:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 13:01 [PATCH v2 1/4] packagegroups: Add packagegroup-core-buildessential-rust Harish.Sadineni
2026-07-17 13:01 ` [PATCH v2 2/4] packagegroups: add nativesdk-packagegroup-sdk-host-rust Harish.Sadineni
2026-07-24 14:13 ` Paul Barker
2026-08-05 12:49 ` Harish Sadineni [this message]
2026-07-17 13:01 ` [PATCH v2 3/4] packagegroups: add nativesdk-packagegroup-sdk-host-clang Harish.Sadineni
2026-07-17 13:01 ` [PATCH v2 4/4] populate_sdk_base: add kernel-devsrc via SDK_TOOLCHAIN_LANGS Harish.Sadineni
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=97f32d03-044f-470e-937a-ec9a4724d785@windriver.com \
--to=harish.sadineni@windriver.com \
--cc=Sundeep.Kokkonda@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul@pbarker.dev \
/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