initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_LTTNG_LIBUST
|
||||
bool "lttng-libust"
|
||||
depends on BR2_USE_WCHAR # uses wchar_t
|
||||
# liburcu only works on some architectures and requires threads support"
|
||||
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBURCU
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
help
|
||||
Userspace tracing library for the LTTng 2.x tracing
|
||||
infrastructure. It allows userspace programs to create
|
||||
custom trace events that are integrated with all other
|
||||
events gathered by LTTng.
|
||||
|
||||
http://lttng.org
|
||||
|
||||
comment "lttng-libust needs a toolchain w/ dynamic library, wchar, threads"
|
||||
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://lttng.org/files/lttng-ust/lttng-ust-2.12.1.tar.bz2.sha256
|
||||
sha256 48a3948b168195123a749d22818809bd25127bb5f1a66458c3c012b210d2a051 lttng-ust-2.12.1.tar.bz2
|
||||
|
||||
# Hash for license file
|
||||
sha256 74125a84c2166300776980166e29de40d5f98d1a75e487f0bbc0c03b4cd2342e COPYING
|
||||
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# lttng-libust
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust
|
||||
LTTNG_LIBUST_VERSION = 2.12.1
|
||||
LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2
|
||||
LTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond)
|
||||
LTTNG_LIBUST_LICENSE_FILES = COPYING
|
||||
LTTNG_LIBUST_INSTALL_STAGING = YES
|
||||
LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux
|
||||
LTTNG_LIBUST_CONF_OPTS = \
|
||||
--disable-man-pages \
|
||||
--disable-examples \
|
||||
--with-lttng-system-rundir=/run/lttng
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LTTNG_LIBUST_DEPENDENCIES += python
|
||||
LTTNG_LIBUST_CONF_OPTS += --enable-python-agent
|
||||
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LTTNG_LIBUST_DEPENDENCIES += python3
|
||||
LTTNG_LIBUST_CONF_OPTS += --enable-python-agent
|
||||
else
|
||||
LTTNG_LIBUST_CONF_ENV = am_cv_pathless_PYTHON="none"
|
||||
LTTNG_LIBUST_CONF_OPTS += --disable-python-agent
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NUMACTL),y)
|
||||
LTTNG_LIBUST_DEPENDENCIES += numactl
|
||||
LTTNG_LIBUST_CONF_OPTS += --enable-numa
|
||||
else
|
||||
LTTNG_LIBUST_CONF_OPTS += --disable-numa
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user