All of lore.kernel.org
 help / color / mirror / Atom feed
From: richard.purdie@linuxfoundation.org
To: Andre McCurdy <armccurdy@gmail.com>
Cc: Mike Crowe <mac@mcrowe.com>,
	OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] bitbake.conf: Stop exporting TARGET_ flags variables
Date: Tue, 02 Jul 2019 10:45:58 +0100	[thread overview]
Message-ID: <0f6f8faee46bbfb79ea9f8dac2da7936acf8bb2b.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAJ86T=UXpcAhAQ1WgwKNW69NBSGHRDvFGydU4FRX_4j=SCEZSg@mail.gmail.com>

On Mon, 2019-07-01 at 12:23 -0700, Andre McCurdy wrote:
> On Sun, Jun 30, 2019 at 3:00 PM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Tue, 2019-06-25 at 14:16 +0100, Mike Crowe wrote:
> > > Way back in
> > > http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html
> > > a few of us discussed not exporting TARGET_LDFLAGS. There seemed
> > > to be
> > > support for this idea, and I modified our tree to not do so. I
> > > then seem to
> > > have dropped the ball. :( We've been running like that for over
> > > five years,
> > > and not observed any problems.
> > > 
> > > It seems sensible to stop exporting TARGET_CPPFLAGS,
> > > TARGET_CFLAGS and
> > > TARGET_CXXFLAGS too.
> > > 
> > > I've successfully compile-tested core-image-minimal and core-
> > > image-sato for
> > > x86_64 and qemuarm64 with these changes.
> > 
> > FWIW I'm really happy to see this!
> 
> Yes, good too see this. Does it mean we're also now ready to address
> (e.g. remove or poison?) these variables for -native and -nativesdk
> as well? Or is that still considered too risky?

Initially I thought you meant they were being exported and they're not.

There aren't many references to TARGET_CFLAGS in recipes, it wouldn't
be hard to clean up the remaining references (the cross recipe
references are needed and can stay), then we could look at deleting
them in those classes...

If we don't do it now it may be worth a bug so we remember.

Cheers,

Richard



      reply	other threads:[~2019-07-02  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 13:16 [PATCH] bitbake.conf: Stop exporting TARGET_ flags variables Mike Crowe
2019-06-30 22:00 ` Richard Purdie
2019-07-01 19:23   ` Andre McCurdy
2019-07-02  9:45     ` 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=0f6f8faee46bbfb79ea9f8dac2da7936acf8bb2b.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=armccurdy@gmail.com \
    --cc=mac@mcrowe.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.