summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-02-04 15:48:44 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-05 11:14:41 +0100
commit7733fad43c8b76cb1ebf7f02485ae966cf5192ef (patch)
tree718f5c2de89eb5add022c571a8f593710fcb1920
parente2531c0178ef6fb8046efd798dcd376c171e0f22 (diff)
lttng-babeltrace: make sure WCHAR and LARGEFILE are enabled
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>
-rw-r--r--package/lttng-babeltrace/Config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/lttng-babeltrace/Config.in b/package/lttng-babeltrace/Config.in
index e6f3845ec..6f47304c1 100644
--- a/package/lttng-babeltrace/Config.in
+++ b/package/lttng-babeltrace/Config.in
@@ -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)