From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] zeromq: add dependency on atomic operations
Date: Mon, 8 Sep 2014 11:33:05 +0200 [thread overview]
Message-ID: <20140908113305.6436b88f@free-electrons.com> (raw)
In-Reply-To: <1410168440.4784.19.camel@abrodkin-8560l.internal.synopsys.com>
Dear Alexey Brodkin,
On Mon, 8 Sep 2014 09:27:21 +0000, Alexey Brodkin wrote:
> Hi Thomas,
>
> On Mon, 2014-09-08 at 09:23 +0200, Thomas Petazzoni wrote:
> > Dear Alexey Brodkin,
> >
> > On Mon, 8 Sep 2014 10:32:44 +0400, Alexey Brodkin wrote:
> >
> > > diff --git a/package/cppzmq/Config.in b/package/cppzmq/Config.in
> > > index e17963e..9f32c51 100644
> > > --- a/package/cppzmq/Config.in
> > > +++ b/package/cppzmq/Config.in
> > > @@ -5,6 +5,7 @@ config BR2_PACKAGE_CPPZMQ
> > > depends on BR2_LARGEFILE # util-linux
> > > depends on BR2_USE_WCHAR # util-linux
> > > depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
> > > + depends on BR2_ARCH_HAS_ATOMICS # zeromq
> > > select BR2_PACKAGE_ZEROMQ
> > > help
> > > C++ binding for zeromq (ZeroMQ, 0MQ, zmq).
> >
> > Same thing here: you should change the comment to *not* display it if
> > the architecture doesn't have atomic intrinsics.
>
> I assume comments from the previous patch apply here as well, right?
> Especially since atomic ops are only used in "libpgm", i.e. if only
> BR2_PACKAGE_ZEROMQ_PGM is enabled.
If atomic operations are only used when BR2_PACKAGE_ZEROMQ_PGM is
enabled, why do we need to propagate all those dependencies then? If a
package selects BR2_PACKAGE_ZEROMQ and not BR2_PACKAGE_ZEROMQ_PGM,
there's no reason to propagate the dependency.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2014-09-08 9:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 6:32 [Buildroot] [PATCH 0/2] add more dependencies on atomic operations Alexey Brodkin
2014-09-08 6:32 ` [Buildroot] [PATCH 1/2] libtirpc: add dependency " Alexey Brodkin
2014-09-08 7:23 ` Thomas Petazzoni
2014-09-08 9:23 ` Alexey Brodkin
2014-09-08 9:27 ` Thomas Petazzoni
2014-09-12 13:12 ` Alexey Brodkin
2014-09-12 13:25 ` Thomas Petazzoni
2014-09-12 13:31 ` Alexey Brodkin
2014-09-08 6:32 ` [Buildroot] [PATCH 2/2] zeromq: " Alexey Brodkin
2014-09-08 7:23 ` Thomas Petazzoni
2014-09-08 9:27 ` Alexey Brodkin
2014-09-08 9:33 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140908113305.6436b88f@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox