From: Harish Sadineni Date: Tue, 30 Dec 2025 14:15:26 +0000 (-0800) Subject: bindgen-cli: extend BBCLASSEXTEND to include nativesdk X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e93850d541b6ca624c98f4ccdf392cf22a3527;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git bindgen-cli: extend BBCLASSEXTEND to include nativesdk To support building Rust bindings in the SDK environment, bindgen needs to be available for the `nativesdk` class as well. This is required as part of making Rust available, where bindgen is a common dependency for generating Rust FFI bindings from C headers during cross-compilation. Signed-off-by: Harish Sadineni Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb index 2f3ec04e82..72dadfe52f 100644 --- a/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb +++ b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb @@ -15,4 +15,4 @@ do_install:append:class-native() { create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}" } -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk"