public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools
Date: Thu, 29 Oct 2009 11:18:35 -0500	[thread overview]
Message-ID: <20091029161835.GA28414@loki.buserror.net> (raw)
In-Reply-To: <200910280327.27200.vapier@gentoo.org>

On Wed, Oct 28, 2009 at 03:27:26AM -0400, Mike Frysinger wrote:
> On Tuesday 27 October 2009 15:34:10 Scott Wood wrote:
> > On Mon, Oct 26, 2009 at 07:57:50PM -0400, Mike Frysinger wrote:
> > > perhaps it would make more sense to create a HOSTCOMPILE/HOSTLINK (or
> > > whatever) variable so this kind of thing isnt missed ?
> > > HOSTCOMPILE = $(HOSTCC) $(HOSTCFLAGS)
> > > HOSTLINK = $(HOSTCOMPILE) $(HOSTLDFLAGS)
> > 
> > Maybe.  What about PEDCFLAGS?  Should that be the default for HOSTCOMPILE,
> > and then have a HOSTCOMPILENOPED?
> 
> i think the intention was to build everything with -pedantic.  so add it to 
> the default flags and drop the distinction completely.  it'd make the 
> resulting build code a lot simpler.

We can't build everything with it, as we have a lot of code that is
incompatible.  There were already exceptions in the makefiles for these
files.  Fixing that code is beyond the scope of this change, especially for
code like libfdt that has an external upstream.

I'd be OK with removing -pedantic from everything, if Wolfgang agrees.

> > I was expecting it to be built by adding easylogo to TOOLSUBDIRS (it would
> > be better if there were a distinct make target for it, but that's another
> > patch).  Other tools such as gdb already assume they're being run in this
> > manner.
> 
> where does TOOLSUBDIRS get changed ?  i dont see any place in u-boot where it 
> is set and your patch doesnt change that from what i can see.

On the command line (or by editing the makefile), apparently.  It's not
great, but again, changing that is outside the scope of this change.

-Scott

  reply	other threads:[~2009-10-29 16:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 22:17 [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools Scott Wood
2009-10-26 23:57 ` Mike Frysinger
2009-10-27 19:34   ` Scott Wood
2009-10-28  7:27     ` Mike Frysinger
2009-10-29 16:18       ` Scott Wood [this message]
2009-10-30  8:28         ` Wolfgang Denk
2009-10-30 15:53           ` Scott Wood
2009-10-30 16:43             ` Mike Frysinger
2009-10-30 16:47               ` Scott Wood
2009-10-30 17:28                 ` Mike Frysinger

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=20091029161835.GA28414@loki.buserror.net \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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