From: Harish Sadineni Date: Fri, 17 Jul 2026 13:01:07 +0000 (-0700) Subject: packagegroups: add nativesdk-packagegroup-sdk-host-rust X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a05c097edb552c5a7bc0fd812be353f079f8d201;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git packagegroups: add nativesdk-packagegroup-sdk-host-rust 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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 \ +"