package/thrift: use the new ARCH_HAS_ATOMICS as dependency
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 17 Aug 2014 19:29:44 +0000 (21:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Aug 2014 08:57:27 +0000 (10:57 +0200)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/thrift/Config.in

index 23b99e5834fd1c59448376af99033b11a9dd9e06..7c7272ab2e1bc8652899e23f31babd7a98ce8829 100644 (file)
@@ -4,7 +4,7 @@ config BR2_PACKAGE_THRIFT
        depends on BR2_USE_WCHAR
        depends on BR2_LARGEFILE
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+       depends on BR2_ARCH_HAS_ATOMICS
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_LIBEVENT
        select BR2_PACKAGE_OPENSSL
@@ -19,7 +19,7 @@ config BR2_PACKAGE_THRIFT
 
          http://thrift.apache.org/
 
-comment "thrift needs a toolchain w/ C++, largefile, wchar, threads, atomic intrinsics"
+comment "thrift needs a toolchain w/ C++, largefile, wchar, threads"
+       depends on BR2_ARCH_HAS_ATOMICS
        depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP