diff options
author | Samuel Martin <s.martin49@gmail.com> | 2015-12-13 19:47:48 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-13 22:36:53 +0100 |
commit | f50bd3c0b80374fdbab37285e1d7670f4ea43f83 (patch) | |
tree | c59c828eafd7a95cc8b6bb903b50c71f681a64f7 /package/liburcu | |
parent | d4b9490b6736845196e01334ee63afc8dcd4ff3d (diff) | |
download | buildroot-f50bd3c0b80374fdbab37285e1d7670f4ea43f83.tar.gz buildroot-f50bd3c0b80374fdbab37285e1d7670f4ea43f83.zip |
package/liburcu: introduce BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS symbol
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>
Diffstat (limited to 'package/liburcu')
-rw-r--r-- | package/liburcu/Config.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in index a4e8dc83dc..36d53534c9 100644 --- a/package/liburcu/Config.in +++ b/package/liburcu/Config.in @@ -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 |