From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH v2 3/6] package/cbindgen: new host package
Date: Fri, 17 Oct 2025 12:38:12 +0200 [thread overview]
Message-ID: <aPIclP1XjOZaVi3z@waldemar-brodkorb.de> (raw)
cbindgen creates C/C++11 headers for Rust libraries which expose a public C API.
This is a requirement to build firefox.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
DEVELOPERS | 1 +
package/cbindgen/cbindgen.hash | 3 +++
package/cbindgen/cbindgen.mk | 13 +++++++++++++
3 files changed, 17 insertions(+)
create mode 100644 package/cbindgen/cbindgen.hash
create mode 100644 package/cbindgen/cbindgen.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 02af438337..cc304ad1cd 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3398,6 +3398,7 @@ F: board/stmicroelectronics/stm32f746-disco/
F: configs/qemu_riscv32_nommu_virt_defconfig
F: configs/stm32f746_disco_sd_defconfig
F: package/asterisk/
+F: package/cbindgen/
F: package/evilwm/
F: package/fbv/
F: package/libaom/
diff --git a/package/cbindgen/cbindgen.hash b/package/cbindgen/cbindgen.hash
new file mode 100644
index 0000000000..fc86c122a1
--- /dev/null
+++ b/package/cbindgen/cbindgen.hash
@@ -0,0 +1,3 @@
+# Locally generated
+sha256 61db56782dad6fbf1972ddbe13907bf57ef571dc4c10759eafcba11d49970840 0.29.0.tar.gz
+sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE
diff --git a/package/cbindgen/cbindgen.mk b/package/cbindgen/cbindgen.mk
new file mode 100644
index 0000000000..917d2bd91f
--- /dev/null
+++ b/package/cbindgen/cbindgen.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# cbindgen
+#
+################################################################################
+
+CBINDGEN_VERSION = 0.29.0
+CBINDGEN_SOURCE = $(CBINDGEN_VERSION).tar.gz
+CBINDGEN_SITE = https://github.com/mozilla/cbindgen/archive/refs/tags
+CBINDGEN_LICENSE = MPL-2.0
+CBINDGEN_LICENSE_FILES = LICENSE
+
+$(eval $(host-cargo-package))
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
reply other threads:[~2025-10-17 10:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aPIclP1XjOZaVi3z@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.