mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
protobuf: introduce BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
The architecture dependencies of protobuf are going to change, and they are already duplicated between protobuf, ola and mosh. In order to factorize the expression of those dependencies, this commit introduces BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS. Note that we include in this hidden Config.in option both the target architecture dependency and the host architecture dependency. Finally, this commit also fixes a real mistake in the mosh Config.in file, where the condition on the architecture dependency for the Config.in comment was inverted: we only want to show the Config.in comment when we are on supported architectures. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
comment "ola needs a toolchain w/ C++, threads, wchar, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
depends on BR2_arm || BR2_i386 || BR2_mipsel || BR2_x86_64
|
||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_OLA
|
||||
bool "ola (open lighting architecture)"
|
||||
@@ -12,9 +12,7 @@ config BR2_PACKAGE_OLA
|
||||
depends on !BR2_STATIC_LIBS # protobuf
|
||||
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"
|
||||
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
||||
help
|
||||
Open Lighting Architecture provides applications
|
||||
with a mechanism to send and receive DMX512 & RDM
|
||||
|
||||
Reference in New Issue
Block a user