diff mbox

connman: switch to BR2_TOOLCHAIN_HAS_SYNC_4

Message ID 1457572011-2749-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 9900571b1d556bda423a113bfae3d1fb8e2078d7
Headers show

Commit Message

Gustavo Zacarias March 10, 2016, 1:06 a.m. UTC
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>
---
 package/connman/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni March 10, 2016, 8:42 p.m. UTC | #1
Gustavo,

On Wed,  9 Mar 2016 22:06:51 -0300, Gustavo Zacarias wrote:
> 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>
> ---
>  package/connman/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thomas
Peter Korsgaard March 10, 2016, 9:34 p.m. UTC | #2
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > 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>

Committed, thanks.
diff mbox

Patch

diff --git a/package/connman/Config.in b/package/connman/Config.in
index 270938e..f723a31 100644
--- a/package/connman/Config.in
+++ b/package/connman/Config.in
@@ -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