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>
This commit is contained in:
Spenser Gilliland
2013-07-15 14:47:50 -05:00
committed by Thomas Petazzoni
parent 3fed58bd50
commit 51788521b7
67 changed files with 280 additions and 162 deletions

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_DBUS_PYTHON
bool "dbus-python"
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_PACKAGE_DBUS
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_DBUS_GLIB
@@ -9,5 +10,6 @@ config BR2_PACKAGE_DBUS_PYTHON
http://dbus.freedesktop.org/doc/dbus-python/
comment "dbus-python requires a toolchain with WCHAR support"
depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON && !BR2_USE_WCHAR
comment "dbus-python requires a toolchain with WCHAR and threading support"
depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON && \
(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)