2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2012-06-02 16:09:18 -06:00
|
|
|
#
|
2013-07-21 23:30:22 -06:00
|
|
|
# lttng-tools
|
2012-06-02 16:09:18 -06:00
|
|
|
#
|
2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2013-06-05 17:53:25 -06:00
|
|
|
|
2014-09-24 00:43:03 -06:00
|
|
|
LTTNG_TOOLS_VERSION = 2.5.0
|
2014-07-31 02:46:58 -06:00
|
|
|
LTTNG_TOOLS_SITE = http://lttng.org/files/lttng-tools
|
2012-01-31 12:40:03 -07:00
|
|
|
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
|
2014-03-08 07:38:29 -07: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 13:32:44 -06:00
|
|
|
LTTNG_TOOLS_CONF_OPTS += --with-xml-prefix=$(STAGING_DIR)/usr
|
2012-01-31 12:40:03 -07: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 00:43:03 -06:00
|
|
|
LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt host-lttng-babeltrace util-linux
|
2012-01-31 12:40:03 -07:00
|
|
|
|
2012-02-04 07:48:43 -07:00
|
|
|
LTTNG_AUTORECONF = YES
|
|
|
|
|
2012-02-04 07:48:46 -07:00
|
|
|
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
|
2014-09-27 13:32:44 -06:00
|
|
|
LTTNG_TOOLS_CONF_OPTS += --enable-lttng-ust
|
2012-02-04 07:48:46 -07:00
|
|
|
LTTNG_TOOLS_DEPENDENCIES += lttng-libust
|
|
|
|
else
|
2014-09-27 13:32:44 -06:00
|
|
|
LTTNG_TOOLS_CONF_OPTS += --disable-lttng-ust
|
2012-02-04 07:48:46 -07:00
|
|
|
endif
|
|
|
|
|
2012-07-02 16:07:32 -06:00
|
|
|
$(eval $(autotools-package))
|