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