From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH/next v3] allow boards to customize compiler options on a per-file/dir basis
Date: Sun, 14 Jun 2009 11:32:05 -0400 [thread overview]
Message-ID: <200906141132.06546.vapier@gentoo.org> (raw)
In-Reply-To: <20090614151008.GK22102@game.jcrosoft.org>
On Sunday 14 June 2009 11:10:08 Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 16:45 Sun 14 Jun , Wolfgang Denk wrote:
> > Dear Jean-Christophe PLAGNIOL-VILLARD,
> >
> > In message <20090614142939.GG22102@game.jcrosoft.org> you wrote:
> > > > +# Allow boards to use custom optimize flags on a per dir/file basis
> > > > +BCURDIR := $(notdir $(CURDIR))
> > > > $(obj)%.s: %.S
> > > > - $(CPP) $(AFLAGS) -o $@ $<
> > > > + $(CPP) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $<
> > >
> > > we can drop this one as there is no obj %.s
> >
> > But since it's already present it also makes sense to keep it, so we
> > don;t have to figure out what it needs to be in case we have to add an
> > assembler file later.
>
> the .s is supposed to be gcc temp file
not really. the .s file means "do not run preprocessor before sending to
assembler". that is all.
> It make sense to avoid it as assembly file suffix is .S for source
usually, yes, but no need to force people to conform if they want to write
pure assembly with no CPP stuff.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090614/23083ec4/attachment.pgp
next prev parent reply other threads:[~2009-06-14 15:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-18 6:56 [U-Boot] [RFC/PATCH] allow boards to customize compiler options on a per-file/dir basis Mike Frysinger
2009-05-18 7:06 ` [U-Boot] [RFC/PATCH v2] " Mike Frysinger
2009-06-09 18:17 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-14 13:33 ` [U-Boot] [PATCH/next v3] " Mike Frysinger
2009-06-14 14:29 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-14 14:45 ` Wolfgang Denk
2009-06-14 15:10 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-14 15:32 ` Mike Frysinger [this message]
2009-06-14 18:24 ` Wolfgang Denk
2009-06-14 14:56 ` Mike Frysinger
2009-06-14 15:08 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-14 20:44 ` Wolfgang Denk
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=200906141132.06546.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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