summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-02-04 15:48:45 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-05 11:15:22 +0100
commit3e40b680fb485eacc3d9c1d64cbce2140fb47178 (patch)
tree0d96b83907d061a3c3da5b427cd59990415fb338 /package
parent7733fad43c8b76cb1ebf7f02485ae966cf5192ef (diff)
lttng-libust: add the dependency on util-linux
This dependency was missing in the initial addition of the package to Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-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))