1config BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS
2	bool
3	# see third_party/boringssl-with-bazel/src/include/openssl/target.h
4	default y if BR2_aarch64 || BR2_aarch64_be
5	default y if BR2_arm || BR2_armeb
6	default y if BR2_i386 || BR2_x86_64
7	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
8	default y if BR2_riscv
9
10config BR2_PACKAGE_PYTHON_GRPCIO
11	bool "python-grpcio"
12	depends on BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS
13	depends on BR2_INSTALL_LIBSTDCPP
14	help
15	  HTTP/2-based RPC framework.
16
17	  https://grpc.io
18
19comment "python-grpcio needs a toolchain w/ C++"
20	depends on BR2_PACKAGE_PYTHON_GRPCIO_ARCH_SUPPORTS
21	depends on !BR2_INSTALL_LIBSTDCPP
22