From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>,
openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] autotools-brokensep: Mark recipes with broken separate build dir support
Date: Thu, 27 Feb 2014 21:03:50 +0000 [thread overview]
Message-ID: <1393535030.31769.160.camel@ted> (raw)
In-Reply-To: <CAJTo0LYoCqic_4OwwMHJdwMwwMDC-ARyu1e_5PdV0+HnqNxLzg@mail.gmail.com>
On Thu, 2014-02-27 at 20:13 +0000, Burton, Ross wrote:
> On 27 February 2014 20:06, Otavio Salvador <otavio@ossystems.com.br> wrote:
> > On Thu, Feb 27, 2014 at 3:52 PM, Burton, Ross <ross.burton@intel.com> wrote:
> >> On 27 February 2014 18:01, Richard Purdie
> >> <richard.purdie@linuxfoundation.org> wrote:
> >>> +inherit autotools
> >>> +B = "${S}"
> >>
> >> Why is this preferable to directly setting B in the recipe, which
> >> seems more obvious to me.
> >
> > I see one benefit for it being easier to grep for; so we know this is
> > one recipe which ought to be fixed and that rely on autotools.
>
> I'm apprehensive of adding a class whose sole purpose is to set a
> variable that can be set in the recipe itself, and will be another
> class to explain/document for the future. Grepping for an assignment
> to B is almost as simple too.
I ended up doing it this way as:
a) its easier to change in the recipes than typing the magic B=...
incantation
b) its easier to search for (sure you can grep B= but how do you know
they're autotools recipes? This is particular hard when the inherit
is in a common include file
c) it means we can set (and change) policy globally from one place
d) it contains the word "broken" nice and clearly
Cheers,
Richard
prev parent reply other threads:[~2014-02-27 21:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-27 18:01 [PATCH] autotools-brokensep: Mark recipes with broken separate build dir support Richard Purdie
2014-02-27 18:52 ` Burton, Ross
2014-02-27 20:06 ` Otavio Salvador
2014-02-27 20:13 ` Burton, Ross
2014-02-27 20:15 ` Otavio Salvador
2014-02-27 21:03 ` Richard Purdie [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=1393535030.31769.160.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
--cc=ross.burton@intel.com \
/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