summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lttng-libust/Config.in8
-rw-r--r--package/lttng-libust/lttng-libust.mk2
2 files changed, 9 insertions, 1 deletions
diff --git a/package/lttng-libust/Config.in b/package/lttng-libust/Config.in
index 335a95688..ae74bedf1 100644
--- a/package/lttng-libust/Config.in
+++ b/package/lttng-libust/Config.in
@@ -1,6 +1,11 @@
config BR2_PACKAGE_LTTNG_LIBUST
bool "lttng-libust"
select BR2_PACKAGE_LIBURCU
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ # util-linux needs wchar and largefile
+ depends on BR2_USE_WCHAR
+ depends on BR2_LARGEFILE
help
Userspace tracing library for the Lttng tracing
infrastructure. It allows userspace programs to create
@@ -8,3 +13,6 @@ config BR2_PACKAGE_LTTNG_LIBUST
events gathered by LTTng.
http://lttng.org
+
+comment "lttng-libust needs WCHAR and LARGEFILE support"
+ depends on !(BR2_USE_WCHAR || BR2_LARGEFILE)
diff --git a/package/lttng-libust/lttng-libust.mk b/package/lttng-libust/lttng-libust.mk
index a2cef2a7f..ebe14cad1 100644
--- a/package/lttng-libust/lttng-libust.mk
+++ b/package/lttng-libust/lttng-libust.mk
@@ -3,6 +3,6 @@ LTTNG_LIBUST_VERSION = 1.9.2
LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.gz
LTTNG_LIBUST_INSTALL_STAGING = YES
-LTTNG_LIBUST_DEPENDENCIES = liburcu
+LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux
$(eval $(call AUTOTARGETS))