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

@@ -21,10 +21,11 @@ config BR2_PACKAGE_LIBPLAYER_MPLAYER
config BR2_PACKAGE_LIBPLAYER_GSTREAMER
bool "gstreamer backend"
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
select BR2_PACKAGE_GSTREAMER
comment "gstreamer backend requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR
comment "gstreamer backend requires a toolchain with WCHAR and threading support"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_LIBPLAYER_PYTHON
depends on BR2_PACKAGE_PYTHON