mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
e34a6ed07b
commit
3db74e2818
19
meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb
Normal file
19
meta/recipes-devtools/bindgen-cli/bindgen-cli_0.71.1.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries."
|
||||
HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=0b9a98cb3dcdefcceb145324693fda9b"
|
||||
|
||||
inherit rust cargo cargo-update-recipe-crates
|
||||
|
||||
SRC_URI += "git://github.com/rust-lang/rust-bindgen.git;protocol=https;branch=main"
|
||||
SRCREV = "af7fd38d5e80514406fb6a8bba2d407d252c30b9"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
require ${BPN}-crates.inc
|
||||
|
||||
do_install:append:class-native() {
|
||||
create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}"
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user