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: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f4897a9eb3
commit
8986a22117
@ -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
package/libgc/Config.in
Normal file
11
package/libgc/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
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/
|
15
package/libgc/libgc.mk
Normal file
15
package/libgc/libgc.mk
Normal file
@ -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_DEPENDENCIES = libatomic_ops host-pkgconf
|
||||
LIBGC_LICENSE = Permissive X11-style
|
||||
LIBGC_LICENSE_FILES = README.md
|
||||
LIBGC_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
Loading…
Reference in New Issue
Block a user