mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 10:53:30 +08:00
8c393d2c6f
Set the rundir to /run/lttng, if systemd is the init system. /var/run is "legacy" in systemd's view. Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
958 B
Makefile
28 lines
958 B
Makefile
################################################################################
|
|
#
|
|
# lttng-tools
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_TOOLS_VERSION = 2.12.1
|
|
LTTNG_TOOLS_SITE = https://lttng.org/files/lttng-tools
|
|
LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2
|
|
LTTNG_TOOLS_INSTALL_STAGING = YES
|
|
LTTNG_TOOLS_LICENSE = GPL-2.0, LGPL-2.1 (include/lttng/*, src/lib/lttng-ctl/*)
|
|
LTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Clause GPL-2.0 LGPL-2.1 MIT)
|
|
LTTNG_TOOLS_CONF_OPTS += --disable-man-pages
|
|
LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux
|
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
LTTNG_TOOLS_CONF_OPTS += --with-lttng-system-rundir=/run/lttng
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
|
|
LTTNG_TOOLS_CONF_OPTS += --with-lttng-ust
|
|
LTTNG_TOOLS_DEPENDENCIES += lttng-libust
|
|
else
|
|
LTTNG_TOOLS_CONF_OPTS += --without-lttng-ust
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|