2013-04-11 06:41:35 +02:00
|
|
|
config BR2_PACKAGE_PROTOBUF_C
|
|
|
|
bool "protobuf-c"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2015-08-18 21:23:17 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-05-12 19:45:48 +02:00
|
|
|
# host-protobuf only builds on certain architectures
|
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
2017-05-07 15:32:46 +02:00
|
|
|
depends on BR2_HOST_GCC_AT_LEAST_4_5 # host-protobuf
|
2013-04-11 06:41:35 +02:00
|
|
|
help
|
|
|
|
Code generator and runtime libraries to use Protocol Buffers
|
|
|
|
from pure C (not C++).
|
|
|
|
|
2017-03-03 06:25:16 +01:00
|
|
|
https://github.com/protobuf-c/protobuf-c
|
2013-04-11 06:41:35 +02:00
|
|
|
|
2017-05-07 15:32:46 +02:00
|
|
|
comment "protobuf-c needs a toolchain w/ C++, threads, host gcc >= 4.5"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|
|
|| !BR2_HOST_GCC_AT_LEAST_4_5
|
2014-05-12 19:45:48 +02:00
|
|
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|