1config BR2_PACKAGE_LIBURING
2	bool "liburing"
3	depends on BR2_USE_MMU # madvise()
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
5	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
6	help
7	  This is the io_uring library, liburing. liburing provides
8	  helpers to setup and teardown io_uring instances, and also a
9	  simplified interface for applications that don't need (or
10	  want) to deal with the full kernel side implementation.
11
12	  https://git.kernel.dk/cgit/liburing
13
14comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1"
15	depends on BR2_USE_MMU
16	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
17		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1
18