]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/icu: use the new ARCH_HAS_ATOMICS as dependency
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 17 Aug 2014 19:29:41 +0000 (21:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Aug 2014 08:56:42 +0000 (10:56 +0200)
And propagate to the reverse dependencies of icu.
Also, fix beecrypt's comment: only the C++ support needs atomics.

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/beecrypt/Config.in
package/cppcms/Config.in
package/icu/Config.in
package/php/Config.ext
package/qt5/qt5base/Config.in

index e0f9181a299459477661d3364ed4ba2b10712bbd..b9685ef3b062b9a5339feb3cedcc9d471cc493ff 100644 (file)
@@ -1,5 +1,5 @@
-comment "beecrypt needs a toolchain w/ threads, atomic intrinsics"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+comment "beecrypt needs a toolchain w/ threads"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_BEECRYPT
        bool "beecrypt"
@@ -15,15 +15,15 @@ config BR2_PACKAGE_BEECRYPT_CPP
        bool "C++ support"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR # icu
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # icu
        depends on !BR2_BINFMT_FLAT # icu
+       depends on BR2_ARCH_HAS_ATOMICS # icu
        select BR2_PACKAGE_ICU
        help
          Enable C++ support. This pulls in the (large) icu package.
 
-comment "C++ support needs a toolchain w/ wchar, atomic intrinsics"
+comment "C++ support needs a toolchain w/ wchar"
        depends on !BR2_BINFMT_FLAT
-       depends on BR2_INSTALL_LIBSTDCPP && (!BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS)
+       depends on BR2_ARCH_HAS_ATOMICS
+       depends on BR2_INSTALL_LIBSTDCPP && !BR2_USE_WCHAR
 
 endif # BR2_PACKAGE_BEECRYPT
index 297c5145e2e15ba58cb0e19a842ae73795f307e7..dbe478640a7caa7aa1cb559943ede50e2ba5cda3 100644 (file)
@@ -26,14 +26,15 @@ config BR2_PACKAGE_CPPCMS_ICU
        bool "enable icu support"
        depends on !BR2_BINFMT_FLAT # icu
        depends on BR2_USE_WCHAR # icu
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # icu
+       depends on BR2_ARCH_HAS_ATOMICS # icu
        select BR2_PACKAGE_ICU
        help
          Using ICU allows advanced localization features into CppCMS,
          in another hand ICU is heavier than iconv.
 
-comment "icu support needs a toolchain w/ wchar, atomic intrinsics"
-       depends on !BR2_BINFMT_FLAT || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+comment "icu support needs a toolchain w/ wchar"
+       depends on !BR2_BINFMT_FLAT
+       depends on BR2_ARCH_HAS_ATOMICS
        depends on !BR2_USE_WCHAR
 
 endif
index d4521ac13d7f79cc82faa27cd2fe6ad67dd070fb..d7bf2fe3a66ce1c66822c014bcdaf42746846c56 100644 (file)
@@ -7,7 +7,7 @@ config BR2_PACKAGE_ICU
        # file, and it cannot easily be changed to generate FLAT
        # format.
        depends on !BR2_BINFMT_FLAT
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+       depends on BR2_ARCH_HAS_ATOMICS
        help
          International Components for Unicode.
 
@@ -25,7 +25,8 @@ config BR2_PACKAGE_ICU_CUSTOM_DATA_PATH
 
 endif
 
-comment "icu needs a toolchain w/ C++, wchar, threads, atomic intrinsics"
+comment "icu needs a toolchain w/ C++, wchar, threads"
        depends on !BR2_BINFMT_FLAT
+       depends on BR2_ARCH_HAS_ATOMICS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+               !BR2_TOOLCHAIN_HAS_THREADS
index 078be8daa7cdbdc34c9baabf94a95df537dae32e..e07779acabc09121d4c3de789ffbde73f3a035ba 100644 (file)
@@ -168,14 +168,14 @@ config BR2_PACKAGE_PHP_EXT_INTL
        depends on BR2_USE_WCHAR
        depends on !BR2_BINFMT_FLAT # icu
        depends on BR2_TOOLCHAIN_HAS_THREADS # icu
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # icu
+       depends on BR2_ARCH_HAS_ATOMICS # icu
        help
          Internationalization support
 
-comment "intl support needs a toolchain w/ C++, wchar, threads, atomic intrinsics"
+comment "intl support needs a toolchain w/ C++, wchar, threads"
        depends on !BR2_BINFMT_FLAT
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
-               || !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
+       depends on BR2_ARCH_HAS_ATOMICS
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
 comment "Image processing"
 
index 67f211c354f7c10459f705419def6c47e7f4b0dd..7a34d6f20632bef84e21772de1b5f93e142a8c94 100644 (file)
@@ -241,15 +241,12 @@ config BR2_PACKAGE_QT5BASE_DBUS
 config BR2_PACKAGE_QT5BASE_ICU
        bool "Enable ICU support"
        select BR2_PACKAGE_ICU
-       depends on BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS # icu
+       depends on BR2_ARCH_HAS_ATOMICS # icu
        depends on !BR2_BINFMT_FLAT # icu
        help
          This option enables ICU support in Qt5. This is for example
          needed for Qt5Webkit.
 
-comment "icu needs a toolchain w/ atomic intrinsics"
-       depends on !BR2_TOOLCHAIN_HAS_ATOMIC_INTRINSICS
-
 config BR2_PACKAGE_QT5BASE_TSLIB
        bool "Enable Tslib support"
        depends on !BR2_PREFER_STATIC_LIB # dlopen