[U-Boot] without board level config.mk How to add CPPFLAGS

Wolfgang Denk wd at denx.de
Tue Mar 29 13:21:02 CEST 2011


Dear zzs,

In message <20110329012444.GA2470 at 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.


More information about the U-Boot mailing list