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,7 +1,7 @@
config BR2_PACKAGE_OFONO
bool "ofono"
depends on BR2_USE_WCHAR # gettext/libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
depends on BR2_USE_WCHAR # gettext, libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus
select BR2_PACKAGE_LIBCAP_NG
select BR2_PACKAGE_DBUS
@@ -15,5 +15,4 @@ config BR2_PACKAGE_OFONO
http://ofono.org/
comment "ofono requires a toolchain with WCHAR and thread support"
depends on !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS