<div>Hi Paul and all,</div><div> </div><div>coming back to this discussion....</div><div>It seems that setting FILESPATH in the gcc .inc file doesn't allow system to recognize the FILESEXTRAPATHS_prepend setting in the append file.</div>
<div>I'm wondering if you can test this scenario, maybe creating a gcc append recipe to add a dummy file in the SRC_URI list.</div><div> </div><div>Cheers,</div><div>Giuseppe<br></div><div class="gmail_quote">2012/12/19 Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="HOEnZb"><div class="h5">On Monday 17 December 2012 14:51:59 Giuseppe Condorelli wrote:<br>
> 2012/12/14 Robert P. J. Day <<a href="mailto:rpjday@crashcourse.ca">rpjday@crashcourse.ca</a>><br>
><br>
> > On Fri, 14 Dec 2012, Giuseppe Condorelli wrote:<br>
> > > 2012/12/14 Robert P. J. Day <<a href="mailto:rpjday@crashcourse.ca">rpjday@crashcourse.ca</a>><br>
> > ><br>
> > > On Fri, 14 Dec 2012, Marko Katić wrote:<br>
> > > > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote:<br>
> > > > > Hi All,<br>
> > > > ><br>
> > > > > I've seen that, in the given .inc file, the FILESPATH is<br>
> ><br>
> > statically<br>
> ><br>
> > > > > set to<br>
> > > > ><br>
> > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7"<br>
> > > > ><br>
> > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on<br>
> ><br>
> > append file.<br>
> ><br>
> > > > > I need to add further patches for gcc-4.7.2 in my own meta<br>
> ><br>
> > layer but<br>
> ><br>
> > > > > if I set the FILESEXTRAPATHS_prepend as usual<br>
> > > > > nothing happens, sources are taken only from the directory set<br>
> ><br>
> > by<br>
> ><br>
> > > > > FILESPATH.<br>
> > > > > Also I saw this setting was different in the past<br>
> > > > ><br>
> > > > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7'<br>
> ><br>
> > ], d)}"<br>
> ><br>
> > > i'm fairly sure i posted on this recently. base.bbclass<br>
> > ><br>
> > > *explicitly* sets FILESPATH to a set of variations thusly:<br>
> > ><br>
> > > FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}",<br>
> ><br>
> > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}"<br>
> ><br>
> > > which works fine with the recipes in the underlying oe-core layer.<br>
> > ><br>
> > > however, when you use FILESEXTRAPATHS_prepend, you get additional<br>
> > ><br>
> > > directories based on *only* the name you specify. so if you do:<br>
> > ><br>
> > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"<br>
> > ><br>
> > > are you thinking you should also get all variations of "gcc-4.7"?<br>
> > > because that's not what's going to happen.<br>
> > ><br>
> > > I'm sorry, I've not catched your last sentence. I set (as in the<br>
> > > past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:"<br>
> > > also updating the SRC_URI inside the .bbappend file to use the<br>
> > > sources available in the gcc directory available in my own layer.<br>
> > ><br>
> > did you also set THISDIR just above that?<br>
><br>
> No, I don't set it. Is it necessary now?<br>
<br>
</div></div>No, THISDIR is set automatically, you should not set it yourself.<br>
<br>
Cheers,<br>
Paul<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Paul Eggleton<br>
Intel Open Source Technology Centre<br>
</font></span></blockquote></div><br>