summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2024-09-11 20:33:34 +0200
committeruvok cheetah2024-09-11 20:33:34 +0200
commit42384f036e37524f08bcf381c9212cd9e53d6521 (patch)
tree6ab820776e07381dd6e8a99966458a11a032e6a2
parent020688d55a65868959a94eb5f118299043732fec (diff)
Add libgc
-rw-r--r--Config.in1
-rw-r--r--package/libgc/Config.in8
-rw-r--r--package/libgc/libgc.mk16
3 files changed, 25 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index ddbffb6..5e0b728 100644
--- a/Config.in
+++ b/Config.in
@@ -1,3 +1,4 @@
comment "uvok's packages"
+source "$BR2_EXTERNAL_UVOK_BUILDROOT_PATH/package/libgc/Config.in"
source "$BR2_EXTERNAL_UVOK_BUILDROOT_PATH/package/rpi-utils/Config.in"
source "$BR2_EXTERNAL_UVOK_BUILDROOT_PATH/package/w3m/Config.in"
diff --git a/package/libgc/Config.in b/package/libgc/Config.in
new file mode 100644
index 0000000..e683beb
--- /dev/null
+++ b/package/libgc/Config.in
@@ -0,0 +1,8 @@
+# dependencies taken from rpi-userland
+
+config BR2_PACKAGE_LIBGC
+ bool "libgc"
+ help
+ Boehms Garbage collector
+
+ https://www.hboehm.info/gc/
diff --git a/package/libgc/libgc.mk b/package/libgc/libgc.mk
new file mode 100644
index 0000000..d3d04f3
--- /dev/null
+++ b/package/libgc/libgc.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# libgc
+#
+################################################################################
+
+LIBGC_VERSION = 8.2.4
+LIBGC_SITE = https://www.hboehm.info/gc/gc_source
+LIBGC_SOURCE = gc-$(LIBGC_VERSION).tar.gz
+
+LIBGC_CONF_OPTS = --with-libatomic-ops=none
+
+# needed for w3m build?
+LIBGC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))