Commit 8986a221 authored by alex.bennee@linaro.org's avatar alex.bennee@linaro.org Committed by Thomas Petazzoni
Browse files

package: add Boehm-Demers-Weiser gc library



This is needed for applications like Zile

[Thomas:
 - use $(...) instead of ${...} to reference LIBGC_VERSION
 - add missing dependency on libatomic_ops dependencies
 - fix DEPENDANCIES -> DEPENDENCIES
 - replace += by = in dependencies definition
 - add host-pkgconf to the list of dependencies
 - fix license, it's a X11-style permissive license
 - fix license file, COPYING didn't exist, use README.md instead]

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent f4897a9e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -792,6 +792,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"
+11 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBGC
	bool "libgc"
	select BR2_PACKAGE_LIBATOMIC_OPS
	depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
	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/

package/libgc/libgc.mk

0 → 100644
+15 −0
Original line number Diff line number Diff line
################################################################################
#
# libgc
#
################################################################################

LIBGC_VERSION = 7.4.0
LIBGC_SOURCE = gc-$(LIBGC_VERSION).tar.gz
LIBGC_SITE = http://www.hboehm.info/gc/gc_source/
LIBGC_DEPENDENCIES = libatomic_ops host-pkgconf
LIBGC_LICENSE = Permissive X11-style
LIBGC_LICENSE_FILES = README.md
LIBGC_INSTALL_STAGING = YES

$(eval $(autotools-package))