Skip to contentSkip to conversation

ofono: depends on BR2_TOOLCHAIN_HAS_SYNC_4

PATCH New Gustavo Zacarias 2 participants 2 messages Feb 22, 2016 – Feb 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ofono: depends on BR2_TOOLCHAIN_HAS_SYNC_4

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/7ec/7ec4142d0f41234309a226a21a7da7acbece90e9/

---
 package/connman/Config.in | 1 +
 package/ofono/Config.in   | 2 ++
 2 files changed, 3 insertions(+)
package/connman/Config.in +1 -0
index 556de48..26406c8 100644
@@ -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
package/ofono/Config.in +2 -0
index f8365d8..2e3ca22 100644
@@ -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
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 ofono: depends on BR2_TOOLCHAIN_HAS_SYNC_4

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/7ec/7ec4142d0f41234309a226a21a7da7acbece90e9/

---
 package/connman/Config.in | 1 +
 package/ofono/Config.in   | 2 ++
 2 files changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com