1config BR2_PACKAGE_RDMA_CORE
2	bool "rdma-core"
3	depends on BR2_USE_MMU # fork() used in rstream example
4	depends on BR2_TOOLCHAIN_HAS_SYNC_4
5	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4  # iproute2
6	depends on !BR2_STATIC_LIBS # dlopen()
7	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
8	select BR2_PACKAGE_IPROUTE2  # runtime
9	select BR2_PACKAGE_LIBNL
10	help
11	  This is the userspace components for the Linux Kernel's
12	  drivers/infiniband subsystem.
13
14	  https://github.com/linux-rdma/rdma-core
15
16comment "rdma-core needs a toolchain w/ headers >= 3.4, NPTL, dynamic library"
17	depends on BR2_USE_MMU
18	depends on BR2_TOOLCHAIN_HAS_SYNC_4
19	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \
20		|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
21