On Fri, 2026-07-17 at 06:01 -0700, [email protected] wrote:
> From: Harish Sadineni <[email protected]>
> 
> 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 <[email protected]>
> ---
>  .../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.

Best regards,

-- 
Paul Barker

Attachment: signature.asc
Description: This is a digitally signed message part

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241936): 
https://lists.openembedded.org/g/openembedded-core/message/241936
Mute This Topic: https://lists.openembedded.org/mt/120314373/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to