1 ################################################################################
5 ################################################################################
7 LTTNG_LIBUST_SITE
= http
://lttng.org
/files
/lttng-ust
8 LTTNG_LIBUST_VERSION
= 2.9.0
9 LTTNG_LIBUST_SOURCE
= lttng-ust-
$(LTTNG_LIBUST_VERSION
).
tar.bz2
10 LTTNG_LIBUST_LICENSE
= LGPLv2.1
, MIT
(system headers
), GPLv2
(liblttng-ust-ctl
/ustctl.c used by lttng-sessiond
)
11 LTTNG_LIBUST_LICENSE_FILES
= COPYING
12 LTTNG_LIBUST_INSTALL_STAGING
= YES
13 LTTNG_LIBUST_DEPENDENCIES
= liburcu util-linux
14 LTTNG_LIBUST_CONF_OPTS
+= --disable-man-pages
15 # 0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch
16 # 0003-Validate-the-presence-of-dlmopen-at-configure-time.patch
17 LTTNG_LIBUST_AUTORECONF
= YES
19 ifeq ($(BR2_PACKAGE_PYTHON
),y
)
20 LTTNG_LIBUST_DEPENDENCIES
+= python
21 LTTNG_LIBUST_CONF_OPTS
+= --enable-python-agent
22 else ifeq ($(BR2_PACKAGE_PYTHON3
),y
)
23 LTTNG_LIBUST_DEPENDENCIES
+= python3
24 LTTNG_LIBUST_CONF_OPTS
+= --enable-python-agent
26 LTTNG_LIBUST_CONF_ENV
= am_cv_pathless_PYTHON
="none"
27 LTTNG_LIBUST_CONF_OPTS
+= --disable-python-agent
30 $(eval
$(autotools-package
))