From: "Alex Bennée" <alex.bennee@linaro.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/libgc: add Boehm-Demers-Weiser gc library
Date: Fri, 11 Apr 2014 15:05:55 +0100 [thread overview]
Message-ID: <1397225156-23112-3-git-send-email-alex.bennee@linaro.org> (raw)
In-Reply-To: <1397225156-23112-1-git-send-email-alex.bennee@linaro.org>
This is needed for applications like Zile
Signed-off-by: Alex Benn?e <alex.bennee@linaro.org>
---
v2
- fix whitespace
- proper dependancies
- use system libatomic
create mode 100644 package/libgc/Config.in
create mode 100644 package/libgc/libgc.mk
diff --git a/package/Config.in b/package/Config.in
index 6abc7b3..0e7e246 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -788,6 +788,7 @@ source "package/libev/Config.in"
source "package/libevdev/Config.in"
source "package/libevent/Config.in"
source "package/libffi/Config.in"
+source "package/libgc/Config.in"
source "package/libglib2/Config.in"
source "package/libical/Config.in"
source "package/libnspr/Config.in"
diff --git a/package/libgc/Config.in b/package/libgc/Config.in
new file mode 100644
index 0000000..5bceb3d
--- /dev/null
+++ b/package/libgc/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBGC
+ bool "libgc"
+ select BR2_PACKAGE_LIBATOMIC_OPS
+ help
+ The Boehm-Demers-Weiser conservative garbage collector can be used
+ as a garbage collecting replacement for C malloc or C++ new. It allows
+ you to allocate memory basically as you normally would, without
+ explicitly deallocating memory that is no longer useful.
+
+ http://www.hboehm.info/gc/
diff --git a/package/libgc/libgc.mk b/package/libgc/libgc.mk
new file mode 100644
index 0000000..e3c5bf1
--- /dev/null
+++ b/package/libgc/libgc.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libgc
+#
+################################################################################
+
+LIBGC_VERSION = 7.4.0
+LIBGC_SOURCE = gc-${LIBGC_VERSION}.tar.gz
+LIBGC_SITE = http://www.hboehm.info/gc/gc_source/
+LIBGC_DEPENDANCIES += libatomic_ops
+LIBGC_LICENSE = GPLv1+
+LIBGC_LICENSE_FILES = COPYING
+LIBGC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
--
1.9.2
next prev parent reply other threads:[~2014-04-11 14:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 14:05 [Buildroot] [PATCH 0/3] Add lightweight Zile editor Alex Bennée
2014-04-11 14:05 ` [Buildroot] [PATCH 1/3] package/libatomic: mark as supporting aarch64 Alex Bennée
2014-04-12 21:19 ` Thomas Petazzoni
2014-04-11 14:05 ` Alex Bennée [this message]
2014-04-11 20:03 ` [Buildroot] [PATCH 2/3] package/libgc: add Boehm-Demers-Weiser gc library Thomas De Schampheleire
2014-04-11 22:22 ` Thomas Petazzoni
2014-04-16 17:05 ` Thomas Petazzoni
2014-04-11 14:05 ` [Buildroot] [PATCH 3/3] package/zile: add Zile is Lossy Emacs editor Alex Bennée
2014-04-11 15:39 ` Alex Bennée
2014-04-11 20:10 ` Thomas De Schampheleire
2014-04-17 11:44 ` Alex Bennée
2014-04-11 22:24 ` Thomas Petazzoni
2014-04-17 11:45 ` Alex Bennée
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=1397225156-23112-3-git-send-email-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=buildroot@busybox.net \
/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.