kumquat-buildroot/package/jemalloc/jemalloc.mk
Rahul Bedarkar 96e9480fbc boot, package: use SPDX short identifier for BSD-2c
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for BSD-2c is BSD-2-Clause.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:27:05 +02:00

25 lines
684 B
Makefile

################################################################################
#
# jemalloc
#
################################################################################
JEMALLOC_VERSION = 4.2.1
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
JEMALLOC_SITE = http://www.canonware.com/download/jemalloc
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))