All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Crowe <mac@mcrowe.com>
To: Christopher Larson <clarson@kergoth.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: libcap: make -e causing trouble
Date: Thu, 30 Apr 2015 15:55:52 +0100	[thread overview]
Message-ID: <20150430145552.GA20387@mcrowe.com> (raw)
In-Reply-To: <CABcZAN=hpf+C=2TQ+ghPktwM68Bq+T_HVMWhR94Y2K5Em4xwPw@mail.gmail.com>

On Thursday 30 April 2015 at 07:39:25 -0700, Christopher Larson wrote:
> On Thu, Apr 30, 2015 at 7:28 AM, Mike Crowe <mac@mcrowe.com> wrote:
> > Unfortunately passing "-e" subtly changes the behaviour of libcap's
> > Make.Rules under recursive make when prefix="" (which it is for us since
> > we're using meta-micro.)

[snip]

> Given our use of make -e (with MAKEFLAGS= to try to prevent it from flowing
> into submakes) was always a hack to try to let things "just work", I think
> wherever possible we should stop relying on it, and explicitly pass
> everything the way that particular make-based buildsystem expects,
> personally. Better to be explicit than to rely on implicit "magic".
> Further, that behavior encourages recipe maintainers to not even read the
> buildsystem of the project they're creating a recipe for, which often leads
> to problems down the road..

I completely agree, but what is the best way to avoid "-e". Is there ever
likely to be anything else in EXTRA_OEMAKE that would need to be preserved?

I notice that autotools.bbclass just sets EXTRA_OEMAKE = "" so perhaps it's
relatively safe to just assign it directly.

Thanks.

Mike.


  reply	other threads:[~2015-04-30 14:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 14:28 libcap: make -e causing trouble Mike Crowe
2015-04-30 14:39 ` Christopher Larson
2015-04-30 14:55   ` Mike Crowe [this message]
2015-04-30 15:32     ` Christopher Larson

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=20150430145552.GA20387@mcrowe.com \
    --to=mac@mcrowe.com \
    --cc=clarson@kergoth.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.