Add 0001-Fix-detect-dlmopen-and-disable-corresponding-tests-i.patch to detect if dlmopen() exists and disable parts of the build accordingly if not. This fixes a bug when building with musl or uClibc-ng. Add 0002-Fix-src-common-pipe.h-include-sys-types.h-for-ssize_.patch to fix an #include bug when building with musl. Add 0003-Fix-warning-src-bin-lttng-utils.c-cast-incompatible-.patch to remove compilation warnings. All three new patches are in upstream's master branch as of this date and will be part of an eventual release. Fixes: http://autobuild.buildroot.net/results/e37a5c69e2a9f9cd7c0705331e205c1ee20808e7/ (musl) http://autobuild.buildroot.net/results/b2670e6d1928649aefa7fbc748858e6036585f01/ (uclibc) Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
876 B
Makefile
25 lines
876 B
Makefile
################################################################################
|
|
#
|
|
# lttng-tools
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_TOOLS_VERSION = 2.9.5
|
|
LTTNG_TOOLS_SITE = http://lttng.org/files/lttng-tools
|
|
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
|
|
LTTNG_TOOLS_LICENSE = GPL-2.0+, LGPL-2.1+ (include/lttng/*, src/lib/lttng-ctl/*)
|
|
LTTNG_TOOLS_LICENSE_FILES = gpl-2.0.txt lgpl-2.1.txt LICENSE
|
|
LTTNG_TOOLS_CONF_OPTS += --disable-man-pages
|
|
# 0001-Fix-detect-dlmopen-and-disable-corresponding-tests-i.patch
|
|
LTTNG_LIBUST_AUTORECONF = YES
|
|
LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux
|
|
|
|
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
|
|
LTTNG_TOOLS_CONF_OPTS += --with-lttng-ust
|
|
LTTNG_TOOLS_DEPENDENCIES += lttng-libust
|
|
else
|
|
LTTNG_TOOLS_CONF_OPTS += --without-lttng-ust
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|