<br><br><div class="gmail_quote">2012/12/14 Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</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 Fri, 14 Dec 2012, Giuseppe Condorelli wrote:<br>
<br>
><br>
><br>
> 2012/12/14 Robert P. J. Day <<a href="mailto:rpjday@crashcourse.ca">rpjday@crashcourse.ca</a>><br>
> On Fri, 14 Dec 2012, Marko Katić wrote:<br>
><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 statically<br>
> > > set to<br>
> > ><br>
> > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7"<br>
> > ><br>
> > > This seems to avoid any FILESEXTRAPATHS_prepend usage on append file.<br>
> > > I need to add further patches for gcc-4.7.2 in my own meta layer but<br>
> > > if I set the FILESEXTRAPATHS_prepend as usual<br>
> > > nothing happens, sources are taken only from the directory set by<br>
> > > FILESPATH.<br>
> > > Also I saw this setting was different in the past<br>
> > ><br>
> > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"<br>
><br>
> i'm fairly sure i posted on this recently. base.bbclass<br>
> *explicitly* sets FILESPATH to a set of variations thusly:<br>
><br>
> FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${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>
> 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>
</div></div> did you also set THISDIR just above that?<br></blockquote><div>No, I don't set it. Is it necessary now? </div><div> </div><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"><br>
rday<br>
<br>
--<br>
<br>
========================================================================<br>
Robert P. J. Day Ottawa, Ontario, CANADA<br>
<a href="http://crashcourse.ca" target="_blank">http://crashcourse.ca</a><br>
<br>
Twitter: <a href="http://twitter.com/rpjday" target="_blank">http://twitter.com/rpjday</a><br>
LinkedIn: <a href="http://ca.linkedin.com/in/rpjday" target="_blank">http://ca.linkedin.com/in/rpjday</a><br>
========================================================================</div></div></blockquote></div><br>