mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
952f3dfb54
commit
0f6fca6061
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user