connman: switch to BR2_TOOLCHAIN_HAS_SYNC_4

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>
This commit is contained in:
Gustavo Zacarias 2016-03-09 22:06:51 -03:00 committed by Peter Korsgaard
parent 597467169f
commit 9900571b1d

View 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