![Eric Le Bihan](/assets/img/avatar_default.png)
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
716 B
Makefile
25 lines
716 B
Makefile
################################################################################
|
|
#
|
|
# jemalloc
|
|
#
|
|
################################################################################
|
|
|
|
JEMALLOC_VERSION = 5.0.1
|
|
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
|
|
JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
|
|
JEMALLOC_LICENSE = BSD-2-Clause
|
|
JEMALLOC_LICENSE_FILES = COPYING
|
|
JEMALLOC_INSTALL_STAGING = YES
|
|
|
|
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
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|