2
1

rust-bindgen.mk 604 B

1234567891011121314151617
  1. ################################################################################
  2. #
  3. # rust-bindgen
  4. #
  5. ################################################################################
  6. RUST_BINDGEN_VERSION = 0.72.0
  7. RUST_BINDGEN_SITE = $(call github,rust-lang,rust-bindgen,v$(RUST_BINDGEN_VERSION))
  8. RUST_BINDGEN_LICENSE = BSD-3-clause
  9. RUST_BINDGEN_LICENSE_FILES = LICENSE
  10. # The Cargo.toml at the root directory is a "virtual manifest".
  11. # Since we only want to build and install bindgen use the Cargo.toml
  12. # from the bindgen-cli subdirectory.
  13. RUST_BINDGEN_SUBDIR = bindgen-cli
  14. $(eval $(host-cargo-package))