summaryrefslogtreecommitdiffstats
path: root/package/grpc/Config.in
diff options
context:
space:
mode:
authorRobert Rose <robertroyrose@gmail.com>2018-11-28 22:21:40 -0800
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-29 21:49:50 +0100
commitd21366e11a98bc18db75d829d5cb20e853d1ac7f (patch)
treed961614aba1f20bfdcc2a3ff312988084ce41369 /package/grpc/Config.in
parent740a9893816b5904c7f78dcfa9f6875a59b8eff1 (diff)
downloadbuildroot-d21366e11a98bc18db75d829d5cb20e853d1ac7f.tar.gz
buildroot-d21366e11a98bc18db75d829d5cb20e853d1ac7f.zip
package/grpc: new package
Signed-off-by: Robert Rose <robertroyrose@gmail.com> [Thomas: - add missing Config.in dependencies inherited from BR2_PACKAGE_PROTOBUF, as well as the corresponding Config.in comment - replace spaces by tabs in grpc.mk indentation - remove superfluous GRPC_SOURCE variable - improved patch description.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/grpc/Config.in')
-rw-r--r--package/grpc/Config.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/grpc/Config.in b/package/grpc/Config.in
new file mode 100644
index 0000000000..3b17400612
--- /dev/null
+++ b/package/grpc/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_GRPC
+ bool "grpc"
+ depends on BR2_INSTALL_LIBSTDCPP # protobuf
+ depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
+ depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
+ depends on BR2_HOST_GCC_AT_LEAST_4_8 # protobuf
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
+ depends on !BR2_STATIC_LIBS # protobuf
+ select BR2_PACKAGE_C_ARES
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_PROTOBUF
+ select BR2_PACKAGE_ZLIB
+ help
+ A language-neutral, platform-neutral, open source, remote
+ procedure call (RPC) system initially developed at Google.
+
+ http://github.com/grpc/grpc
+
+comment "grpc needs a toolchain w/ C++, threads, dynamic library, host and target gcc >= 4.8"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
+ || BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_4_8 \
+ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+ depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
OpenPOWER on IntegriCloud