mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
protobuf: add dependency on gcc >= 4.8
Since version 3.6.0, protobuf requires C++11 Fixes: - http://autobuild.buildroot.net/results/bb299008423edf4c65ade6c159e33c4216428bf1 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
c4e4110d22
commit
5dd74dbd1a
@ -559,7 +559,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN
|
|||||||
# riemann-c-client -> protobuf-c
|
# riemann-c-client -> protobuf-c
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5
|
depends on BR2_HOST_GCC_AT_LEAST_4_8
|
||||||
select BR2_PACKAGE_RIEMANN_C_CLIENT
|
select BR2_PACKAGE_RIEMANN_C_CLIENT
|
||||||
select BR2_PACKAGE_LIBTOOL
|
select BR2_PACKAGE_LIBTOOL
|
||||||
help
|
help
|
||||||
@ -588,15 +588,15 @@ config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS
|
|||||||
bool "write_prometheus"
|
bool "write_prometheus"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5 # protobuf-c
|
depends on BR2_HOST_GCC_AT_LEAST_4_8 # protobuf-c
|
||||||
select BR2_PACKAGE_LIBMICROHTTPD
|
select BR2_PACKAGE_LIBMICROHTTPD
|
||||||
select BR2_PACKAGE_PROTOBUF_C
|
select BR2_PACKAGE_PROTOBUF_C
|
||||||
help
|
help
|
||||||
Publishes values using an embedded HTTP server, in a format
|
Publishes values using an embedded HTTP server, in a format
|
||||||
compatible with Prometheus' collectd_exporter.
|
compatible with Prometheus' collectd_exporter.
|
||||||
|
|
||||||
comment "write_prometheus needs a toolchain w/ C++, host gcc >= 4.5"
|
comment "write_prometheus needs a toolchain w/ C++, host gcc >= 4.8"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_5
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_4_8
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
|
|
||||||
config BR2_PACKAGE_COLLECTD_WRITESENSU
|
config BR2_PACKAGE_COLLECTD_WRITESENSU
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
comment "mosh needs a toolchain w/ C++, threads, dynamic library, wchar, host and target gcc >= 4.5"
|
comment "mosh needs a toolchain w/ C++, threads, dynamic library, wchar, host and target gcc >= 4.8"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
|
||||||
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
|| BR2_STATIC_LIBS || !BR2_USE_WCHAR \
|
||||||
|| !BR2_HOST_GCC_AT_LEAST_4_5 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
|| !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||||
|
|
||||||
config BR2_PACKAGE_MOSH
|
config BR2_PACKAGE_MOSH
|
||||||
@ -9,8 +9,8 @@ config BR2_PACKAGE_MOSH
|
|||||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||||
depends on BR2_INSTALL_LIBSTDCPP # protobuf
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
|
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5 # protobuf
|
depends on BR2_HOST_GCC_AT_LEAST_4_8 # protobuf
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 # protobuf
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
|
||||||
depends on !BR2_STATIC_LIBS # protobuf
|
depends on !BR2_STATIC_LIBS # protobuf
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
select BR2_PACKAGE_PROTOBUF
|
select BR2_PACKAGE_PROTOBUF
|
||||||
|
@ -4,14 +4,14 @@ config BR2_PACKAGE_PROTOBUF_C
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
# host-protobuf only builds on certain architectures
|
# host-protobuf only builds on certain architectures
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5 # host-protobuf
|
depends on BR2_HOST_GCC_AT_LEAST_4_8 # host-protobuf
|
||||||
help
|
help
|
||||||
Code generator and runtime libraries to use Protocol Buffers
|
Code generator and runtime libraries to use Protocol Buffers
|
||||||
from pure C (not C++).
|
from pure C (not C++).
|
||||||
|
|
||||||
https://github.com/protobuf-c/protobuf-c
|
https://github.com/protobuf-c/protobuf-c
|
||||||
|
|
||||||
comment "protobuf-c needs a toolchain w/ C++, threads, host gcc >= 4.5"
|
comment "protobuf-c needs a toolchain w/ C++, threads, host gcc >= 4.8"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||||
|| !BR2_HOST_GCC_AT_LEAST_4_5
|
|| !BR2_HOST_GCC_AT_LEAST_4_8
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
|
@ -30,8 +30,8 @@ config BR2_PACKAGE_PROTOBUF
|
|||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5
|
depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
help
|
help
|
||||||
Protocol buffers are Google's language-neutral,
|
Protocol buffers are Google's language-neutral,
|
||||||
@ -40,8 +40,8 @@ config BR2_PACKAGE_PROTOBUF
|
|||||||
|
|
||||||
https://developers.google.com/protocol-buffers
|
https://developers.google.com/protocol-buffers
|
||||||
|
|
||||||
comment "protobuf needs a toolchain w/ C++, threads, dynamic library, host and target gcc >= 4.5"
|
comment "protobuf needs a toolchain w/ C++, threads, dynamic library, host and target gcc >= 4.8"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||||
|| BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_4_5 \
|
|| BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_4_8 \
|
||||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||||
|
@ -2,7 +2,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF
|
|||||||
bool "python-protobuf"
|
bool "python-protobuf"
|
||||||
# host-protobuf only builds on certain architectures
|
# host-protobuf only builds on certain architectures
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5 # host-protobuf
|
depends on BR2_HOST_GCC_AT_LEAST_4_8 # host-protobuf
|
||||||
select BR2_PACKAGE_PYTHON_SIX # runtime
|
select BR2_PACKAGE_PYTHON_SIX # runtime
|
||||||
help
|
help
|
||||||
Python implementation of the Google Protocol Buffers.
|
Python implementation of the Google Protocol Buffers.
|
||||||
|
@ -3,7 +3,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT
|
|||||||
depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c
|
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_4_5 # protobuf-c
|
depends on BR2_HOST_GCC_AT_LEAST_4_8 # protobuf-c
|
||||||
select BR2_PACKAGE_PROTOBUF_C
|
select BR2_PACKAGE_PROTOBUF_C
|
||||||
help
|
help
|
||||||
Riemann-c-client is a C client library for the Riemann
|
Riemann-c-client is a C client library for the Riemann
|
||||||
@ -13,7 +13,7 @@ config BR2_PACKAGE_RIEMANN_C_CLIENT
|
|||||||
|
|
||||||
https://github.com/algernon/riemann-c-client
|
https://github.com/algernon/riemann-c-client
|
||||||
|
|
||||||
comment "riemann-c-client needs a toolchain w/ C++, threads, host gcc >= 4.5"
|
comment "riemann-c-client needs a toolchain w/ C++, threads, host gcc >= 4.8"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||||
|| !BR2_HOST_GCC_AT_LEAST_4_5
|
|| !BR2_HOST_GCC_AT_LEAST_4_8
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user