]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
dbus: requires thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jul 2012 09:29:58 +0000 (11:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jul 2012 16:25:43 +0000 (18:25 +0200)
As can be seen on the build result at
http://autobuild.buildroot.org/results/20f1078ef7dc5f187b04c63ef70e8b43acf9bb3a/build-end.log,
D-Bus requires thread support in the toolchain.

This commit adjusts the Kconfig dependencies of D-Bus and all its
reverse dependencies to depend on thread support in the toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/bluez_utils/Config.in
package/connman/Config.in
package/dbus/Config.in
package/efl/libedbus/Config.in
package/network-manager/Config.in
package/ofono/Config.in
package/qt/Config.in
package/samba/Config.in
package/systemd/Config.in

index 3517407d8fc662721fd0f484c4fb472a4d4cfbb7..f5a02d6a4b97d18dcfc1ae93dce92a8f1f3300bd 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_BLUEZ_UTILS
        bool "bluez-utils"
        depends on BR2_USE_WCHAR # libglib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
        help
@@ -30,5 +31,5 @@ config BR2_PACKAGE_BLUEZ_UTILS_USB
 
 endif
 
-comment "bluez-utils require a toolchain with WCHAR support"
-       depends on !(BR2_USE_WCHAR)
+comment "bluez-utils require a toolchain with WCHAR and thread support"
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
index 2fcb6c19c314e940154238348ba9369dd45344fb..082b0ca686494098d1949d45fe5a6ef9b5d6661f 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_CONNMAN
        depends on !(BR2_UCLIBC_VERSION_0_9_31 || 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
        help
          The Connection Manager (ConnMan) project provides a daemon for
          managing internet connections within embedded devices running
@@ -46,5 +47,6 @@ config BR2_PACKAGE_CONNMAN_CLIENT
 
 endif # BR2_PACKAGE_CONNMAN
 
-comment "connman needs a toolchain with IPv6, WCHAR and resolver support"
-       depends on BR2_UCLIBC_VERSION_0_9_31 || BR2_UCLIBC_VERSION_0_9_32 || !BR2_USE_WCHAR || !BR2_INET_IPV6
+comment "connman needs a toolchain with IPv6, WCHAR, thread and resolver support"
+       depends on BR2_UCLIBC_VERSION_0_9_31 || BR2_UCLIBC_VERSION_0_9_32 || \
+               !BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
index 54a8540cf997bf2c10a620435ec0915998350219..2b04e945b89f2730150eb70a2b6d4355aa8551d0 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_DBUS
        bool "dbus"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          The D-Bus message bus system.
 
@@ -23,3 +24,6 @@ choice
                select BR2_PACKAGE_LIBXML2
 
 endchoice
+
+comment "dbus requires a toolchain with thread support"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
index 0914b37a9d6a38037fb6a717c304880226bbafe3..985939edc73fb3677690daddfa2e86c8f8c7522f 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBEDBUS
        select BR2_PACKAGE_LIBEINA
        select BR2_PACKAGE_LIBECORE
        select BR2_PACKAGE_DBUS
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        help
          E_Dbus is a set of wrappers around D-Bus APIs so they can be
          easily used by EFL applications, automatically providing
@@ -30,3 +31,6 @@ config BR2_PACKAGE_LIBEDBUS_NOTIFY
          Notify support.
 
 endif
+
+comment "libedbus requires a toolchain with thread support"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
index a120d01ef3670401592da32448a465d56398cce0..3f01fefb332e2a736a302856b167caeb66d9506b 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
        depends on BR2_INET_IPV6
        depends on BR2_LARGEFILE # acl
        depends on BR2_USE_WCHAR # libglib2 and gnutls
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        select BR2_PACKAGE_DBUS_GLIB
        select BR2_PACKAGE_UDEV
        select BR2_PACKAGE_UDEV_ALL_EXTRAS
@@ -24,6 +25,6 @@ config BR2_PACKAGE_NETWORK_MANAGER
 
          http://projects.gnome.org/NetworkManager/
 
-comment "NetworkManager requires a toolchain with IPV6, LARGEFILE and WCHAR support"
-       depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR
-
+comment "NetworkManager requires a toolchain with IPV6, LARGEFILE, WCHAR and thread support"
+       depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
+               !BR2_TOOLCHAIN_HAS_THREADS
index fc6c9c68240b8136af1a441362213f3f995b1a40..74c8b534a4bad1364fa05b2f4a12d70f7c74ff29 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_OFONO
        bool "ofono"
        depends on BR2_USE_WCHAR # gettext/libglib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        select BR2_PACKAGE_LIBCAP_NG
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
@@ -12,5 +13,6 @@ config BR2_PACKAGE_OFONO
 
          http://ofono.org/
 
-comment "ofono requires a toolchain with WCHAR support"
-       depends on !BR2_USE_WCHAR
+comment "ofono requires a toolchain with WCHAR and thread support"
+       depends on !BR2_USE_WCHAR || \
+               !BR2_TOOLCHAIN_HAS_THREADS
index 88855d2d60c595b4e1d48e08c6985b9b9c562480..b75f2243ff26d88414136b77ab8792b6676f0da0 100644 (file)
@@ -285,9 +285,13 @@ endif
 config BR2_PACKAGE_QT_DBUS
        bool "DBus Module"
        select BR2_PACKAGE_DBUS
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        help
          Build the Qt DBus module.
 
+comment "DBus Module requires a toolchain with thread support"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_QT_XML
        bool "XML Module"
        default y
index cebf7d939dcb477cb04a63b04717e67ab73a1e0e..e88b3609f9c776a67253ea7effebfd88083f8785 100644 (file)
@@ -225,12 +225,13 @@ config BR2_PACKAGE_SAMBA_AVAHI
        bool "support avahi"
        default y
        depends on BR2_PACKAGE_AVAHI_DAEMON
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        select BR2_PACKAGE_DBUS
        help
          Include support for avahi
 
-comment "support avahi - disabled (requires avahi-daemon)"
-       depends on !BR2_PACKAGE_AVAHI_DAEMON
+comment "support avahi - disabled (requires avahi-daemon and thread support in toolchain)"
+       depends on !BR2_PACKAGE_AVAHI_DAEMON || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_SAMBA_GAMIN
        bool "support gamin"
index 8df3318f1efc9231d08d5aab7c18c98ae8e78164..0e7fc397df16ec2f0bf072a48bea4b96eff0af8b 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SYSTEMD
        bool "systemd"
        depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
        depends on BR2_INET_IPV6
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBCAP
        help
@@ -16,5 +17,6 @@ config BR2_PACKAGE_SYSTEMD
 
          http://freedesktop.org/wiki/Software/systemd
 
-comment "systemd not available (depends on /dev management with udev and ipv6 support)"
-       depends on !(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV && BR2_INET_IPV6)
+comment "systemd not available (depends on /dev management with udev and ipv6 support, and thread support in toolchain)"
+       depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || !BR2_INET_IPV6 || \\
+               !BR2_TOOLCHAIN_HAS_THREADS