summaryrefslogtreecommitdiff
path: root/package/lttng-babeltrace
diff options
context:
space:
mode:
authorSpenser Gilliland <spenser@gillilanding.com>2013-07-15 14:47:50 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 17:13:37 +0200
commit51788521b7467942a550cb1d077e6550a7472498 (patch)
tree9948eacc6e23b4cd444d96f2693b0cc56e9a6955 /package/lttng-babeltrace
parent3fed58bd509b8dbb1ea5fe088fe92eb8cd86a410 (diff)
libglib2: needs threads
This commit adds a dependency of the libglib2 package on thread support in the toolchain, since upstream libglib2 doesn't build without thread support. The commit is rather large as it involves propagating the dependency on thread support to all reverse dependencies of the libglib2 package. [Thomas: squash all patches into one, make a few minor fixes, the most important one being to not add comments about MMU requirement when a package doesn't work on !MMU platforms.] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Diffstat (limited to 'package/lttng-babeltrace')
-rw-r--r--package/lttng-babeltrace/Config.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/lttng-babeltrace/Config.in b/package/lttng-babeltrace/Config.in
index 6f47304c1..4f14477ba 100644
--- a/package/lttng-babeltrace/Config.in
+++ b/package/lttng-babeltrace/Config.in
@@ -4,9 +4,10 @@ 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
+ # libglib2 needs thread support and gettext which needs wchar support, and
+ # we also depends on util-linux which needs wchar
depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_THREADS
# util-linux depends on largefile support
depends on BR2_LARGEFILE
help
@@ -26,5 +27,6 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
http://lttng.org
-comment "lttng-babeltrace needs WCHAR and LARGEFILE support"
- depends on BR2_PACKAGE_LTTNG_TOOLS && !(BR2_USE_WCHAR || BR2_LARGEFILE)
+comment "lttng-babeltrace needs WCHAR, threading and LARGEFILE support"
+ depends on BR2_PACKAGE_LTTNG_TOOLS && \
+ (!BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS)