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_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS 7 depends on BR2_HOST_GCC_AT_LEAST_7 # c++17 for host variant 8 help 9 Code generator and runtime libraries to use Protocol Buffers 10 from pure C (not C++). 11 12 https://github.com/protobuf-c/protobuf-c 13 14comment "protobuf-c needs a toolchain w/ C++, threads, host gcc >= 7" 15 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_HOST_GCC_AT_LEAST_7 16 depends on BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS 17