2016-06-24 21:46:30 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jemalloc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-07-14 23:12:10 +02:00
|
|
|
JEMALLOC_VERSION = 4.2.1
|
2016-06-24 21:46:30 +02:00
|
|
|
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
|
|
|
|
JEMALLOC_SITE = http://www.canonware.com/download/jemalloc
|
|
|
|
JEMALLOC_LICENSE = BSD-2c
|
|
|
|
JEMALLOC_LICENSE_FILES = COPYING
|
|
|
|
JEMALLOC_INSTALL_STAGING = YES
|
|
|
|
|
2016-09-09 01:42:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_VALGRIND),y)
|
|
|
|
JEMALLOC_DEPENDENCIES += valgrind
|
|
|
|
JEMALLOC_CONF_OPTS += --enable-valgrind
|
|
|
|
else
|
|
|
|
JEMALLOC_CONF_OPTS += --disable-valgrind
|
|
|
|
endif
|
|
|
|
|
|
|
|
HOST_JEMALLOC_CONF_OPTS += --disable-valgrind
|
|
|
|
|
2016-06-24 21:46:30 +02:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|