Browse Source

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>
Thomas Petazzoni 13 years ago
parent
commit
3e40b680fb
2 changed files with 9 additions and 1 deletions
  1. 8 0
      package/lttng-libust/Config.in
  2. 1 1
      package/lttng-libust/lttng-libust.mk

+ 8 - 0
package/lttng-libust/Config.in

@@ -1,6 +1,11 @@
 config BR2_PACKAGE_LTTNG_LIBUST
 config BR2_PACKAGE_LTTNG_LIBUST
 	bool "lttng-libust"
 	bool "lttng-libust"
 	select BR2_PACKAGE_LIBURCU
 	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
 	help
 	  Userspace tracing library for the Lttng tracing
 	  Userspace tracing library for the Lttng tracing
 	  infrastructure. It allows userspace programs to create
 	  infrastructure. It allows userspace programs to create
@@ -8,3 +13,6 @@ config BR2_PACKAGE_LTTNG_LIBUST
 	  events gathered by LTTng.
 	  events gathered by LTTng.
 
 
 	  http://lttng.org
 	  http://lttng.org
+
+comment "lttng-libust needs WCHAR and LARGEFILE support"
+	depends on !(BR2_USE_WCHAR || BR2_LARGEFILE)

+ 1 - 1
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_SOURCE  = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.gz
 
 
 LTTNG_LIBUST_INSTALL_STAGING = YES
 LTTNG_LIBUST_INSTALL_STAGING = YES
-LTTNG_LIBUST_DEPENDENCIES    = liburcu
+LTTNG_LIBUST_DEPENDENCIES    = liburcu util-linux
 
 
 $(eval $(call AUTOTARGETS))
 $(eval $(call AUTOTARGETS))