aboutsummaryrefslogtreecommitdiff
path: root/package/protobuf/Config.in
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle <arnout@mind.be>2014-05-10 22:09:30 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-05-11 20:59:02 +0200
commit8677473035cc3e02281c8998c25d6dfa071f3b54 (patch)
tree714ea88e62a27e13ab4777ada201d4eb8337be55 /package/protobuf/Config.in
parent7ed76d5427639987bfdf22ecf2cd10cdea1e8f95 (diff)
downloadbuildroot-8677473035cc3e02281c8998c25d6dfa071f3b54.tar.gz
buildroot-8677473035cc3e02281c8998c25d6dfa071f3b54.tar.bz2
protobuf: limit to supported architectures
protobuf 2.5.0 adds an atomic operations implementation that is limited to a few architectures only. mips64el and armeb don't work either. Fixes (among others) http://autobuild.buildroot.net/results/ae9fa612d0b6c9d593504206d5cedd480ad2547e/ Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/protobuf/Config.in')
-rw-r--r--package/protobuf/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in
index a4f542e0fc..293a9b9d4c 100644
--- a/package/protobuf/Config.in
+++ b/package/protobuf/Config.in
@@ -2,6 +2,9 @@ config BR2_PACKAGE_PROTOBUF
bool "protobuf"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ # 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
help
Protocol buffers are Google's language-neutral, platform-neutral,
extensible mechanism for serializing structured data.
@@ -10,3 +13,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