package/liburcu: introduce BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS symbol
authorSamuel Martin <s.martin49@gmail.com>
Sun, 13 Dec 2015 18:47:48 +0000 (19:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 13 Dec 2015 21:36:53 +0000 (22:36 +0100)
This new hidden symbol will allow simplifying the architecture dependencies
on package that depends on liburcu. These packages will be updated in follow-up
patches.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/liburcu/Config.in

index a4e8dc83dcd2ba1188023b2de699820a0af69d20..36d53534c9e36eedb255010d1f06b89ca3565aa9 100644 (file)
@@ -1,6 +1,11 @@
+config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
+       bool
+       depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
+       default y
+
 config BR2_PACKAGE_LIBURCU
        bool "liburcu"
-       depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
+       depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
@@ -18,7 +23,7 @@ config BR2_PACKAGE_LIBURCU
          http://lttng.org/urcu
 
 comment "liburcu needs a toolchain w/ threads"
-       depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
+       depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
        depends on !BR2_TOOLCHAIN_HAS_THREADS