connman: switch to BR2_TOOLCHAIN_HAS_SYNC_4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 10 Mar 2016 01:06:51 +0000 (22:06 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Mar 2016 21:30:33 +0000 (22:30 +0100)
Switch to BR2_TOOLCHAIN_HAS_SYNC_4 from BR2_sparc conditional since it's
the correct one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/connman/Config.in

index 270938e40bcb3d162174e4e8ae1cd1ec03aef8c1..f723a31aa8db8518d5f3cad3bb52f38e4497de60 100644 (file)
@@ -7,7 +7,7 @@ config BR2_PACKAGE_CONNMAN
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
        depends on BR2_USE_MMU # dbus, libglib2
        depends on !BR2_STATIC_LIBS # needs dlopen()
-       depends on !BR2_sparc # needs atomic operation __sync_fetch_and_add
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        help
          The Connection Manager (ConnMan) project provides a daemon
          for managing internet connections within embedded devices
@@ -68,5 +68,5 @@ endif # BR2_PACKAGE_CONNMAN
 
 comment "connman needs a toolchain w/ wchar, threads, resolver, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_sparc
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS