ofono: depends on BR2_TOOLCHAIN_HAS_SYNC_4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 22 Feb 2016 12:25:38 +0000 (09:25 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 Feb 2016 20:51:21 +0000 (21:51 +0100)
It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/7ec/7ec4142d0f41234309a226a21a7da7acbece90e9/

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

index 556de488e0bcc9ccc9a1ba97602745bf8e0aa354..26406c8c4e9a062956e7bda5b5d68de5f8781fc8 100644 (file)
@@ -55,6 +55,7 @@ config BR2_PACKAGE_CONNMAN_NEARD
 config BR2_PACKAGE_CONNMAN_OFONO
        bool "enable ofono support"
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # libcap-ng
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ofono
        select BR2_PACKAGE_OFONO
 
 config BR2_PACKAGE_CONNMAN_DEBUG
index f8365d82741c969b1d567472cb40551c1bde9cc5..2e3ca223609278c3da48a9873945e65b3500060c 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_OFONO
        depends on BR2_USE_MMU # dbus, libglib2
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # libcap-ng
        depends on !BR2_STATIC_LIBS # dlopen()
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        select BR2_PACKAGE_LIBCAP_NG
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
@@ -18,5 +19,6 @@ config BR2_PACKAGE_OFONO
 
 comment "ofono needs a toolchain w/ dynamic library, wchar, threads"
        depends on BR2_USE_MMU
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII