]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lttng-libust: add the dependency on util-linux
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Feb 2012 14:48:45 +0000 (15:48 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 5 Feb 2012 10:15:22 +0000 (11:15 +0100)
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>
package/lttng-libust/Config.in
package/lttng-libust/lttng-libust.mk

index 335a956886cdd256e83693dabeac657babf64277..ae74bedf1085f476dc3d60b89f89f1173c6bd57a 100644 (file)
@@ -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)
index a2cef2a7fde59582411f77509275c3e3141272bc..ebe14cad135e307001fb2d1a2f23c8966ffc7bd0 100644 (file)
@@ -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))