protobuf: introduce BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 Feb 2016 22:04:13 +0000 (23:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 Feb 2016 22:04:13 +0000 (23:04 +0100)
commitabdc56006bf253bec393066f96f69f0a6246b896
treecea5c748b470589dd5cd3706d79972f778159a61
parent95795cf6c8009f47df331ed7d9daab2f5f422168
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>
package/mosh/Config.in
package/ola/Config.in
package/protobuf/Config.in