mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 15:53:29 +08:00
35eaed8d07
In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
comment "zeromq needs a toolchain w/ C++, IPv6, largefile, wchar, threads"
|
|
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
|
|
&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
|
|
|
|
config BR2_PACKAGE_ZEROMQ
|
|
bool "zeromq"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_INET_IPV6
|
|
depends on BR2_LARGEFILE # util-linux
|
|
depends on BR2_USE_WCHAR # util-linux
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
help
|
|
ØMQ (ZeroMQ, 0MQ, zmq) looks like an embeddable networking
|
|
library but acts like a concurrency framework. It gives you
|
|
sockets that carry whole messages across various transports
|
|
like in-process, inter- process, TCP, and multicast. You can
|
|
connect sockets N-to-N with patterns like fanout, pub-sub,
|
|
task distribution, and request-reply. It's fast enough to
|
|
be the fabric for clustered products. Its asynchronous I/O
|
|
model gives you scalable multicore applications, built as
|
|
asynchronous message-processing tasks. It has a score of
|
|
language APIs and runs on most operating systems.
|
|
|
|
ØMQ is from iMatix and is LGPL open source.
|
|
|
|
http://www.zeromq.org/
|
|
|
|
if BR2_PACKAGE_ZEROMQ
|
|
|
|
config BR2_PACKAGE_ZEROMQ_PGM
|
|
bool "PGM/EPGM support"
|
|
depends on !BR2_avr32 # openpgm
|
|
select BR2_PACKAGE_OPENPGM
|
|
help
|
|
Add support for Pragmatic General Multicast protocol (RFC 3208)
|
|
implemented either over raw IP packets or UDP datagrams
|
|
(encapsulated PGM). This requires OpenPGM library.
|
|
|
|
endif
|