xref: /OK3568_Linux_fs/buildroot/package/protobuf-c/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PROTOBUF_C
2	bool "protobuf-c"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	# host-protobuf only builds on certain architectures
6	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
7	help
8	  Code generator and runtime libraries to use Protocol Buffers
9	  from pure C (not C++).
10
11	  https://github.com/protobuf-c/protobuf-c
12
13comment "protobuf-c needs a toolchain w/ C++, threads"
14	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
15	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
16