Dear zzs, In message <20110328091916.gc26...@greatfirst.com> you wrote: > > > What exactly would you need board specific CPPFLAGS settings for? > > > I just want to add a -iquote flag for searching my header file which in > the linux driver dir.
This will not be accepted. U-Boot is supposed to be self-contained. It must not reference any source (or header) files outside the U-Boot directory. > I had wrote a linux driver and has a header file in it. Now I want to > write this driver for u-boot. So I think copy that header file to u-boot > source tree is not a good idea because I must modify two same file when > something wrong. You can probably write the file such that both U-Boot and Linux can use the same version. > So I want add "-iquote my/header/dir" to CPPFLAGS This will not be accepted. > Is there any good methods? Make sure that U-Boot has all files it needs in it's own source tree. 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: w...@denx.de C++ was an interesting and valuable experiment, but we've learned its lessons and it's time to move on. - Peter Curran in <dcqm4z....@isgtec.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot