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 \ +" -- 2.51.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#241177): https://lists.openembedded.org/g/openembedded-core/message/241177 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]] -=-=-=-=-=-=-=-=-=-=-=-
