aboutsummaryrefslogtreecommitdiff
path: root/package/protobuf-c
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-05-12 19:45:48 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-12 22:20:44 +0200
commit0f6fca606134b81c13a9cd03169158a24e3346f5 (patch)
treecda65fe7bb97528b3978cc97eea3a46fbbf785f2 /package/protobuf-c
parent952f3dfb54d3424225edaa78fe6b107f045aa29b (diff)
downloadbuildroot-0f6fca606134b81c13a9cd03169158a24e3346f5.tar.gz
buildroot-0f6fca606134b81c13a9cd03169158a24e3346f5.tar.bz2
protobuf: host-protobuf can only be built on certain architectures
The host-protobuf package can only build on certain architectures. For example, host-protobuf does not build on PowerPC platforms, causing build failures on the autobuilders. Since we don't really care about build platforms other than x86 and x86-64, this commit restricts the build of host-protobuf to these architectures only, even though if technically it could build on ARM and MIPS. Fixes: http://autobuild.buildroot.org/results/9b9/9b9b20b0e4694b11425cdc2382650cdc2774e400/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/protobuf-c')
-rw-r--r--package/protobuf-c/Config.in3
1 files changed, 3 insertions, 0 deletions
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"