2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-03 00:09:18 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# lttng-tools
|
2012-06-03 00:09:18 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-09-24 08:43:03 +02:00
|
|
|
LTTNG_TOOLS_VERSION = 2.5.0
|
2014-07-31 10:46:58 +02:00
|
|
|
LTTNG_TOOLS_SITE = http://lttng.org/files/lttng-tools
|
2012-01-31 20:40:03 +01:00
|
|
|
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
|
2014-03-08 15:38:29 +01:00
|
|
|
LTTNG_TOOLS_LICENSE = GPLv2+; LGPLv2.1+ for include/lttng/* and src/lib/lttng-ctl/*
|
|
|
|
LTTNG_TOOLS_LICENSE_FILES = gpl-2.0.txt lgpl-2.1.txt LICENSE
|
2014-09-27 21:32:44 +02:00
|
|
|
LTTNG_TOOLS_CONF_OPTS += --with-xml-prefix=$(STAGING_DIR)/usr
|
2012-01-31 20:40:03 +01:00
|
|
|
|
|
|
|
# The host-lttng-babeltrace technically isn't a required build
|
|
|
|
# dependency. However, having the babeltrace utilities built for the
|
|
|
|
# host is very useful, since those tools allow to convert the binary
|
|
|
|
# trace format into an human readable format.
|
2014-09-24 08:43:03 +02:00
|
|
|
LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt host-lttng-babeltrace util-linux
|
2012-01-31 20:40:03 +01:00
|
|
|
|
2012-02-04 15:48:43 +01:00
|
|
|
LTTNG_AUTORECONF = YES
|
|
|
|
|
2012-02-04 15:48:46 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LTTNG_TOOLS_CONF_OPTS += --enable-lttng-ust
|
2012-02-04 15:48:46 +01:00
|
|
|
LTTNG_TOOLS_DEPENDENCIES += lttng-libust
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LTTNG_TOOLS_CONF_OPTS += --disable-lttng-ust
|
2012-02-04 15:48:46 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|