1config BR2_PACKAGE_LIBSHDATA
2	bool "libshdata"
3	depends on BR2_TOOLCHAIN_HAS_SYNC_4
4	depends on BR2_TOOLCHAIN_HAS_ATOMIC # libfutils
5	depends on BR2_INSTALL_LIBSTDCPP # libfutils
6	depends on BR2_TOOLCHAIN_HAS_THREADS # libfutils
7	select BR2_PACKAGE_LIBFUTILS
8	select BR2_PACKAGE_ULOG
9	help
10	  This library provides lock free shared-memory tools
11
12	  https://github.com/Parrot-Developers/libshdata
13
14if BR2_PACKAGE_LIBSHDATA
15
16config BR2_PACKAGE_LIBSHDATA_STRESS
17	bool "libshdata-stress binary"
18	depends on !BR2_STATIC_LIBS
19	help
20	  Install libshdata-stress binary as well
21
22comment "libshdata-stress needs a toolchain w/ dynamic library"
23	depends on BR2_STATIC_LIBS
24
25endif
26
27comment "libshdata needs a toolchain w/ C++, threads"
28	depends on BR2_TOOLCHAIN_HAS_SYNC_4
29	depends on BR2_TOOLCHAIN_HAS_ATOMIC
30	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
31