1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# lttng-libust 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunLTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust 8*4882a593SmuzhiyunLTTNG_LIBUST_VERSION = 2.12.1 9*4882a593SmuzhiyunLTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2 10*4882a593SmuzhiyunLTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond) 11*4882a593SmuzhiyunLTTNG_LIBUST_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunLTTNG_LIBUST_INSTALL_STAGING = YES 13*4882a593SmuzhiyunLTTNG_LIBUST_DEPENDENCIES = liburcu util-linux 14*4882a593SmuzhiyunLTTNG_LIBUST_CONF_OPTS = \ 15*4882a593Smuzhiyun --disable-man-pages \ 16*4882a593Smuzhiyun --disable-examples \ 17*4882a593Smuzhiyun --with-lttng-system-rundir=/run/lttng 18*4882a593Smuzhiyun 19*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_PYTHON),y) 20*4882a593SmuzhiyunLTTNG_LIBUST_DEPENDENCIES += python 21*4882a593SmuzhiyunLTTNG_LIBUST_CONF_OPTS += --enable-python-agent 22*4882a593Smuzhiyunelse ifeq ($(BR2_PACKAGE_PYTHON3),y) 23*4882a593SmuzhiyunLTTNG_LIBUST_DEPENDENCIES += python3 24*4882a593SmuzhiyunLTTNG_LIBUST_CONF_OPTS += --enable-python-agent 25*4882a593Smuzhiyunelse 26*4882a593SmuzhiyunLTTNG_LIBUST_CONF_ENV = am_cv_pathless_PYTHON="none" 27*4882a593SmuzhiyunLTTNG_LIBUST_CONF_OPTS += --disable-python-agent 28*4882a593Smuzhiyunendif 29*4882a593Smuzhiyun 30*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_NUMACTL),y) 31*4882a593SmuzhiyunLTTNG_LIBUST_DEPENDENCIES += numactl 32*4882a593SmuzhiyunLTTNG_LIBUST_CONF_OPTS += --enable-numa 33*4882a593Smuzhiyunelse 34*4882a593SmuzhiyunLTTNG_LIBUST_CONF_OPTS += --disable-numa 35*4882a593Smuzhiyunendif 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun$(eval $(autotools-package)) 38