1config BR2_PACKAGE_LIBUV
2	bool "libuv"
3	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_barrier_*
4	depends on BR2_USE_MMU # fork()
5	depends on !BR2_STATIC_LIBS
6	depends on BR2_TOOLCHAIN_HAS_SYNC_4
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
8	help
9	  libuv is a multi-platform support library with a focus
10	  on asynchronous I/O.
11
12	  https://github.com/libuv/libuv
13
14comment "libuv needs a toolchain w/ NPTL, dynamic library, gcc >= 4.9"
15	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
16		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
17	depends on BR2_USE_MMU
18	depends on BR2_TOOLCHAIN_HAS_SYNC_4
19