xref: /OK3568_Linux_fs/buildroot/package/liburcu/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	default y
4*4882a593Smuzhiyun	depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be || \
5*4882a593Smuzhiyun		BR2_i386 || BR2_mips || BR2_mips64 || BR2_mipsel || \
6*4882a593Smuzhiyun		BR2_mips64el || BR2_nios2 || BR2_powerpc || BR2_powerpc64 || \
7*4882a593Smuzhiyun		BR2_powerpc64le || BR2_riscv || BR2_sparc64 || BR2_s390x || BR2_x86_64
8*4882a593Smuzhiyun	depends on BR2_USE_MMU # fork() in test
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBURCU
11*4882a593Smuzhiyun	bool "liburcu"
12*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
13*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
14*4882a593Smuzhiyun	help
15*4882a593Smuzhiyun	  Userspace implementation of the Read-Copy-Update (RCU)
16*4882a593Smuzhiyun	  synchronization mechanism. This library is mainly used by
17*4882a593Smuzhiyun	  the LTTng tracing infrastructure, but can be used for other
18*4882a593Smuzhiyun	  purposes as well.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	  On ARM, because of bug:
21*4882a593Smuzhiyun	    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
22*4882a593Smuzhiyun	  liburcu cannot be built using gcc 4.8.0, 4.8.1 or 4.8.2
23*4882a593Smuzhiyun	  without the following bug fix:
24*4882a593Smuzhiyun	    http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=204665
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	  http://lttng.org/urcu
27*4882a593Smuzhiyun
28*4882a593Smuzhiyuncomment "liburcu needs a toolchain w/ threads"
29*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
30*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS
31