lttng-babeltrace: needs posix_fallocate
authorBaruch Siach <baruch@tkos.co.il>
Fri, 23 May 2014 03:43:55 +0000 (06:43 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 23 May 2014 12:44:26 +0000 (14:44 +0200)
Fixes:
http://autobuild.buildroot.net/results/d8b/d8b5ccc643fe0fb5577392fed37e05b89d4a3951/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lttng-babeltrace/Config.in

index cb857c80beb2f59461a52cc9cefc4b9bf0fe07d5..fae49ab21594229d6a0ed6c944221968edf492a4 100644 (file)
@@ -8,6 +8,7 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
        depends on BR2_LARGEFILE # util-linux
+       depends on BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC # posix_fallocate
        help
          Babeltrace is part of the LTTng 2.x project.
 
@@ -25,7 +26,8 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
 
          http://lttng.org
 
-comment "lttng-babeltrace needs a toolchain w/ wchar, threads, largefile"
+comment "lttng-babeltrace needs a uclibc snapshot or (e)glib toolchain w/ wchar, threads, largefile"
        depends on BR2_PACKAGE_LTTNG_TOOLS
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS \
+               || !BR2_UCLIBC_VERSION_SNAPSHOT || !BR2_TOOLCHAIN_USES_GLIBC