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

@@ -2,6 +2,7 @@ config BR2_PACKAGE_ENCHANT
bool "enchant"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
select BR2_PACKAGE_LIBGLIB2
help
Enchant is a spell-checking library that provides a consistent
@@ -9,5 +10,6 @@ config BR2_PACKAGE_ENCHANT
http://www.abisource.com/projects/enchant/
comment "enchant requires a toolchain with C++ and WCHAR support enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
comment "enchant requires a toolchain with C++, threading and WCHAR support enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS