From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] without board level config.mk How to add CPPFLAGS
Date: Tue, 29 Mar 2011 13:21:02 +0200 [thread overview]
Message-ID: <20110329112102.D0631EDFFCF@gemini.denx.de> (raw)
In-Reply-To: <20110329012444.GA2470@greatfirst.com>
Dear zzs,
In message <20110329012444.GA2470@greatfirst.com> you wrote:
>
> And then how to do that thing : Append custom cpp flags to CPPFLAGS ?
>
> e.g. -Wcomments
>
> And after append them to CPPFLAGS, Does these flags appear in CFLAGS
> auto automatically ?
Use CFLAGS_$(BCURDIR) if you want to set this for all files in a
specific directory, or CFLAGS_$(BCURDIR)/$(@F) if you want to set
this for a single file only.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Many aligators will be slain, but the swamp will remain.
next prev parent reply other threads:[~2011-03-29 11:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 8:03 [U-Boot] without board level config.mk How to add CPPFLAGS zzs
2011-03-28 8:53 ` Wolfgang Denk
2011-03-28 9:19 ` zzs
2011-03-28 10:28 ` Wolfgang Denk
2011-03-28 13:49 ` zzs
2011-03-28 18:15 ` Wolfgang Denk
2011-03-29 1:24 ` zzs
2011-03-29 11:21 ` Wolfgang Denk [this message]
2011-03-30 1:22 ` zzs
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=20110329112102.D0631EDFFCF@gemini.denx.de \
--to=wd@denx.de \
--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