xref: /OK3568_Linux_fs/buildroot/package/grpc/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_GRPC
2	bool "grpc"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2
5	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp
7	depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libabseil-cpp
8	depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp
9	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
10	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
11	select BR2_PACKAGE_C_ARES
12	select BR2_PACKAGE_LIBABSEIL_CPP
13	select BR2_PACKAGE_OPENSSL
14	select BR2_PACKAGE_PROTOBUF
15	select BR2_PACKAGE_RE2
16	select BR2_PACKAGE_ZLIB
17	help
18	  A language-neutral, platform-neutral, open source, remote
19	  procedure call (RPC) system initially developed at Google.
20
21	  http://github.com/grpc/grpc
22
23comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9"
24	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
25	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
26	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
27		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
28		|| !BR2_HOST_GCC_AT_LEAST_4_9
29	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
30