Skip to contentSkip to conversation

package/cbindgen: new host package

PATCH Applied Waldemar Brodkorb 1 participant 1 message Oct 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 3/6 package/cbindgen: new host package

cbindgen creates C/C++11 headers for Rust libraries which expose a public C API. This is a requirement to build firefox.

---
 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
DEVELOPERS +1 -0
index 02af438337..cc304ad1cd 100644
@@ -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/
package/cbindgen/cbindgen.hash new file +3 -0
new file mode 100644
index 0000000000..fc86c122a1
@@ -0,0 +1,3 @@
+# Locally generated
+sha256  61db56782dad6fbf1972ddbe13907bf57ef571dc4c10759eafcba11d49970840  0.29.0.tar.gz
+sha256  1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5  LICENSE
package/cbindgen/cbindgen.mk new file +13 -0
new file mode 100644
index 0000000000..917d2bd91f
@@ -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))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot