xref: /OK3568_Linux_fs/buildroot/package/lttng-tools/lttng-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# lttng-tools
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLTTNG_TOOLS_VERSION = 2.12.3
8*4882a593SmuzhiyunLTTNG_TOOLS_SITE = https://lttng.org/files/lttng-tools
9*4882a593SmuzhiyunLTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
10*4882a593SmuzhiyunLTTNG_TOOLS_INSTALL_STAGING = YES
11*4882a593SmuzhiyunLTTNG_TOOLS_LICENSE = GPL-2.0, LGPL-2.1 (include/lttng/*, src/lib/lttng-ctl/*)
12*4882a593SmuzhiyunLTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Clause GPL-2.0 LGPL-2.1 MIT)
13*4882a593SmuzhiyunLTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux
14*4882a593Smuzhiyun# We're patching configure.ac
15*4882a593SmuzhiyunLTTNG_TOOLS_AUTORECONF = YES
16*4882a593SmuzhiyunLTTNG_TOOLS_CONF_OPTS = \
17*4882a593Smuzhiyun	--disable-man-pages \
18*4882a593Smuzhiyun	--disable-tests \
19*4882a593Smuzhiyun	--with-lttng-system-rundir=/run/lttng
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
22*4882a593SmuzhiyunLTTNG_TOOLS_CONF_OPTS += --with-lttng-ust
23*4882a593SmuzhiyunLTTNG_TOOLS_DEPENDENCIES += lttng-libust
24*4882a593Smuzhiyunelse
25*4882a593SmuzhiyunLTTNG_TOOLS_CONF_OPTS += --without-lttng-ust
26*4882a593Smuzhiyunendif
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun$(eval $(autotools-package))
29