diff options
| author | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2025-04-10 05:54:50 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-11 11:44:22 +0100 |
| commit | 3db74e28184a975a5d76efe1ee618e3b674e4cd3 (patch) | |
| tree | 1f7f2995a3911dd346d5ec6c8c7b350d6e30fd2b /meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb | |
| parent | e34a6ed07b42e4b1c4a9e21badc3e66bf747b7b0 (diff) | |
| download | poky-3db74e28184a975a5d76efe1ee618e3b674e4cd3.tar.gz | |
bindgen-cli: a tool to generate Rust bindings
Import bindgen-cli from the meta-clang layer, as it is required to
generate bindings for Mesa / RustiCL. Specify Khem as maintainer as he
is maintaining the meta-clang layer, which included this recipe too.
(From OE-Core rev: 8cd697f68eeaa7c19f97a0f44d0c5c0cc3252040)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb')
| -rw-r--r-- | meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb new file mode 100644 index 0000000000..5578fb3d18 --- /dev/null +++ b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries." | ||
| 2 | HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0b9a98cb3dcdefcceb145324693fda9b" | ||
| 6 | |||
| 7 | inherit rust cargo cargo-update-recipe-crates | ||
| 8 | |||
| 9 | SRC_URI += "git://github.com/rust-lang/rust-bindgen.git;protocol=https;branch=main" | ||
| 10 | SRCREV = "af7fd38d5e80514406fb6a8bba2d407d252c30b9" | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | require ${BPN}-crates.inc | ||
| 14 | |||
| 15 | do_install:append:class-native() { | ||
| 16 | create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}" | ||
| 17 | } | ||
| 18 | |||
| 19 | BBCLASSEXTEND = "native" | ||
