lttng-babeltrace: make sure WCHAR and LARGEFILE are enabled
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Feb 2012 14:48:44 +0000 (15:48 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 5 Feb 2012 10:14:41 +0000 (11:14 +0100)
Since lttng-babeltrace depends on util-linux and libglib2, we need to
make sure WCHAR and LARGEFILE are enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/lttng-babeltrace/Config.in

index e6f3845ec6b7857439f4b400ee52a437b533a137..6f47304c15f3a0f36a02c7eb85f41b80d2a0b42a 100644 (file)
@@ -4,6 +4,11 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
        select BR2_PACKAGE_UTIL_LINUX
        select BR2_PACKAGE_UTIL_LINUX_LIBUUID
        select BR2_PACKAGE_LIBGLIB2
+       # libglib2 needs gettext which needs wchar support, and we
+       # also depends on util-linux which needs wchar
+       depends on BR2_USE_WCHAR
+       # util-linux depends on largefile support
+       depends on BR2_LARGEFILE
        help
          Babeltrace is part of the LTTng 2.x project.
 
@@ -20,3 +25,6 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
          lttng-tools package.
 
          http://lttng.org
+
+comment "lttng-babeltrace needs WCHAR and LARGEFILE support"
+       depends on BR2_PACKAGE_LTTNG_TOOLS && !(BR2_USE_WCHAR || BR2_LARGEFILE)