[Buildroot] [PATCH 4/7] lttng-libust: add the dependency on util-linux
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Feb 4 14:48:45 UTC 2012
This dependency was missing in the initial addition of the package to
Buildroot.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/lttng-libust/Config.in | 8 ++++++++
package/lttng-libust/lttng-libust.mk | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/package/lttng-libust/Config.in b/package/lttng-libust/Config.in
index 335a956..ae74bed 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 a2cef2a..ebe14ca 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))
--
1.7.4.1
More information about the buildroot
mailing list