Commit 51788521 authored by Spenser Gilliland's avatar Spenser Gilliland Committed by Thomas Petazzoni
Browse files

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: default avatarSpenser Gilliland <spenser@gillilanding.com>
parent 3fed58bd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2,8 +2,9 @@ config BR2_PACKAGE_ATK
	bool "atk"
	select BR2_PACKAGE_LIBGLIB2
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	help
	  The ATK accessibility toolkit, needed to build GTK+-2.x.

comment "atk requires a toolchain with WCHAR support"
	depends on !BR2_USE_WCHAR
comment "atk requires a toolchain with WCHAR and threading support"
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ config BR2_PACKAGE_BLUEZ_UTILS
	bool "bluez-utils"
	depends on !BR2_avr32
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
	depends on BR2_USE_MMU # dbus
	select BR2_PACKAGE_DBUS
	select BR2_PACKAGE_LIBGLIB2
@@ -38,5 +38,5 @@ config BR2_PACKAGE_BLUEZ_UTILS_USB

endif

comment "bluez-utils require a toolchain with WCHAR and thread support"
comment "bluez-utils require a toolchain with WCHAR and threading support"
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+3 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ config BR2_PACKAGE_BUSTLE
	select BR2_PACKAGE_LIBPCAP
	select BR2_PACKAGE_LIBGLIB2
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
	depends on BR2_PACKAGE_DBUS # runtime
	help
	  Bustle is a better dbus-monitor! It records and draws
@@ -18,5 +19,5 @@ config BR2_PACKAGE_BUSTLE

	  http://www.willthompson.co.uk/bustle/

comment "bustle requires a toolchain with WCHAR support"
	depends on !BR2_USE_WCHAR
comment "bustle requires a toolchain with WCHAR support and threading support"
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ config BR2_PACKAGE_CONNMAN
	depends on !BR2_UCLIBC_VERSION_0_9_32
	depends on BR2_USE_WCHAR # libglib2 and gnutls
	depends on BR2_INET_IPV6
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
	depends on BR2_USE_MMU # dbus
	help
	  The Connection Manager (ConnMan) project provides a daemon for
@@ -49,6 +49,6 @@ config BR2_PACKAGE_CONNMAN_CLIENT

endif # BR2_PACKAGE_CONNMAN

comment "connman needs a toolchain with IPv6, WCHAR, thread and resolver support"
comment "connman needs a toolchain with IPv6, WCHAR, threading and resolver support"
	depends on BR2_UCLIBC_VERSION_0_9_32 || \
		!BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ config BR2_PACKAGE_CURLFTPFS
	select BR2_PACKAGE_LIBCURL
	depends on BR2_LARGEFILE
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
	depends on BR2_USE_MMU # libfuse
	depends on !BR2_PREFER_STATIC_LIB # libfuse
	help
@@ -17,5 +17,5 @@ config BR2_PACKAGE_CURLFTPFS

	  http://curlftpfs.sourceforge.net/

comment "curlftpfs requires a toolchain with LARGEFILE, WCHAR, threads and dynamic library support"
comment "curlftpfs requires a toolchain with LARGEFILE, WCHAR, threading and dynamic library support"
	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
Loading