f9ad0bcb82
The deleted patches are removed because they are now upstream as of LTTng-UST v2.10.0. Adding 0001-configure.ac-add-disable-examples-option-to-not-buil.patch which will be part of a release eventually (in master branch as of this date) to add the --disable-examples option. This option configures the build so that examples are not built, so as to avoid build problems with examples which involve CMake. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# lttng-libust
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust
|
|
LTTNG_LIBUST_VERSION = 2.10.0
|
|
LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2
|
|
LTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond)
|
|
LTTNG_LIBUST_LICENSE_FILES = COPYING
|
|
LTTNG_LIBUST_INSTALL_STAGING = YES
|
|
LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux
|
|
LTTNG_LIBUST_CONF_OPTS += --disable-man-pages --disable-examples
|
|
# 0001-configure.ac-add-disable-examples-option-to-not-buil.patch
|
|
LTTNG_LIBUST_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
LTTNG_LIBUST_DEPENDENCIES += python
|
|
LTTNG_LIBUST_CONF_OPTS += --enable-python-agent
|
|
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
LTTNG_LIBUST_DEPENDENCIES += python3
|
|
LTTNG_LIBUST_CONF_OPTS += --enable-python-agent
|
|
else
|
|
LTTNG_LIBUST_CONF_ENV = am_cv_pathless_PYTHON="none"
|
|
LTTNG_LIBUST_CONF_OPTS += --disable-python-agent
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|