<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="im">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>
</div> 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></blockquote><div>I'm sorry, I've not catched your last sentence. I set (as in the past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:"</div><div>also updating the SRC_URI inside the .bbappend file to use the sources available in the gcc directory available in my own layer.</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">
rday<br>
<span class="HOEnZb"><font color="#888888"><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>
========================================================================</font></span><br>_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
<br></blockquote></div><br>