openpgm: depends on sync2/sync4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 16 Mar 2016 19:15:00 +0000 (16:15 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 18 Mar 2016 21:10:39 +0000 (22:10 +0100)
Add dependency on BR2_TOOLCHAIN_HAS_SYNC_2/4 since it uses both
__sync_fetch_and_add_2() and __sync_fetch_and_add_4() atomic builtins.
Fixes:
http://autobuild.buildroot.net/results/8f2/8f2a3571611dc9414c23808e7615f87b677557dd/

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

index 94816d80ab4a0ea44bac01fcbba0850722805e60..e37edfe964f40948201c923ce8cfa2c9d7c7876b 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_OPENPGM
        bool "openpgm"
-       # This toolchain lack required compiler intrinsics
-       depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
+       depends on BR2_TOOLCHAIN_HAS_SYNC_2
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR
        help
@@ -15,4 +15,6 @@ config BR2_PACKAGE_OPENPGM
          https://github.com/steve-o/openpgm/
 
 comment "openpgm needs a toolchain w/ wchar, threads"
+       depends on BR2_TOOLCHAIN_HAS_SYNC_2
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR)
index c780f25b8a886aec44f017faf765f996ee748862..aefdf484930fac1978eecddc812829f0e99927e2 100644 (file)
@@ -29,7 +29,8 @@ if BR2_PACKAGE_ZEROMQ
 
 config BR2_PACKAGE_ZEROMQ_PGM
        bool "PGM/EPGM support"
-       depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX # openpgm
+       depends on BR2_TOOLCHAIN_HAS_SYNC_2
+       depends on BR2_TOOLCHAIN_HAS_SYNC_4
        select BR2_PACKAGE_OPENPGM
        help
          Add support for Pragmatic General Multicast protocol (RFC 3208)