aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/collectd/Config.in2
-rw-r--r--package/ola/Config.in2
-rw-r--r--package/protobuf-c/Config.in3
-rw-r--r--package/protobuf/Config.in3
-rw-r--r--package/python-protobuf/Config.in2
5 files changed, 12 insertions, 0 deletions
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index daa96033fe..f693f31a47 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -419,6 +419,8 @@ comment "rrdtool support needs a toolchain w/ wchar"
config BR2_PACKAGE_COLLECTD_RIEMANN
bool "riemann"
depends on BR2_INSTALL_LIBSTDCPP # protobuf
+ # protobuf-c -> host-protobuf
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
select BR2_PACKAGE_PROTOBUF_C
help
Sends data to Riemann, a stream processing and monitoring system.
diff --git a/package/ola/Config.in b/package/ola/Config.in
index 8d202a5bf7..713102c1ee 100644
--- a/package/ola/Config.in
+++ b/package/ola/Config.in
@@ -12,6 +12,8 @@ config BR2_PACKAGE_OLA
depends on BR2_USE_WCHAR # util-linux
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_arm || BR2_i386 || BR2_mipsel || BR2_x86_64 # protobuf
+ # protobuf -> host-protobuf
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
help
Open Lighting Architecture provides applications
with a mechanism to send and receive DMX512 & RDM
diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
index 732befc9c0..f9fab37a15 100644
--- a/package/protobuf-c/Config.in
+++ b/package/protobuf-c/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_PROTOBUF_C
bool "protobuf-c"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
+ # host-protobuf only builds on certain architectures
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
help
Code generator and runtime libraries to use Protocol Buffers
from pure C (not C++).
@@ -10,3 +12,4 @@ config BR2_PACKAGE_PROTOBUF_C
comment "protobuf-c needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in
index 293a9b9d4c..6015b135ef 100644
--- a/package/protobuf/Config.in
+++ b/package/protobuf/Config.in
@@ -5,6 +5,8 @@ config BR2_PACKAGE_PROTOBUF
# See src/google/protobuf/stubs/platform_macros.h for supported archs.
# PowerPC doesn't actually work.
depends on BR2_arm || BR2_i386 || BR2_mipsel || BR2_x86_64
+ # host-protobuf only builds on certain architectures
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
help
Protocol buffers are Google's language-neutral, platform-neutral,
extensible mechanism for serializing structured data.
@@ -14,3 +16,4 @@ config BR2_PACKAGE_PROTOBUF
comment "protobuf needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_arm || BR2_i386 || BR2_mipsel || BR2_x86_64
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
diff --git a/package/python-protobuf/Config.in b/package/python-protobuf/Config.in
index ec2205757a..6649dfc094 100644
--- a/package/python-protobuf/Config.in
+++ b/package/python-protobuf/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_PYTHON_PROTOBUF
bool "python-protobuf"
depends on BR2_PACKAGE_PYTHON
+ # host-protobuf only builds on certain architectures
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
help
Python implementation of the Google Protocol Buffers.