1 ################################################################################
5 ################################################################################
7 LTTNG_TOOLS_VERSION
= 2.7.1
8 LTTNG_TOOLS_SITE
= http
://lttng.org
/files
/lttng-tools
9 LTTNG_TOOLS_SOURCE
= lttng-tools-
$(LTTNG_TOOLS_VERSION
).
tar.bz2
10 LTTNG_TOOLS_LICENSE
= GPLv2
+, LGPLv2.1
+ (include/lttng
/*, src
/lib
/lttng-ctl
/*)
11 LTTNG_TOOLS_LICENSE_FILES
= gpl-2.0.txt lgpl-2.1.txt LICENSE
12 LTTNG_TOOLS_CONF_OPTS
+= --with-xml-prefix
=$(STAGING_DIR
)/usr
13 # Patching configure.ac
14 LTTNG_TOOLS_AUTORECONF
= YES
16 # The host-lttng-babeltrace technically isn't a required build
17 # dependency. However, having the babeltrace utilities built for the
18 # host is very useful, since those tools allow to convert the binary
19 # trace format into an human readable format.
20 LTTNG_TOOLS_DEPENDENCIES
= liburcu libxml2 popt host-lttng-babeltrace util-linux
22 ifeq ($(BR2_PACKAGE_LTTNG_LIBUST
),y
)
23 LTTNG_TOOLS_CONF_OPTS
+= --enable-lttng-ust
24 LTTNG_TOOLS_DEPENDENCIES
+= lttng-libust
26 LTTNG_TOOLS_CONF_OPTS
+= --disable-lttng-ust
29 $(eval
$(autotools-package
))