<br><br><div class="gmail_quote">2012/12/14 Robert P. J. Day <span dir="ltr">&lt;<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>&gt;</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>
&gt; On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote:<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve seen that, in the given .inc file, the FILESPATH is statically<br>
&gt; &gt; set to<br>
&gt; &gt;<br>
&gt; &gt; FILESPATH = &quot;${FILE_DIRNAME}/gcc-4.7&quot;<br>
&gt; &gt;<br>
&gt; &gt; This seems to avoid any FILESEXTRAPATHS_prepend usage on append file.<br>
&gt; &gt; I need to add further patches for gcc-4.7.2 in my own meta layer but<br>
&gt; &gt; if I set the FILESEXTRAPATHS_prepend as usual<br>
&gt; &gt; nothing happens, sources are taken only from the directory set by<br>
&gt; &gt; FILESPATH.<br>
&gt; &gt; Also I saw this setting was different in the past<br>
&gt; &gt;<br>
&gt; &gt; FILESPATH = &quot;${@base_set_filespath([ &#39;${FILE_DIRNAME}/gcc-4.7&#39; ], d)}&quot;<br>
<br>
</div>  i&#39;m fairly sure i posted on this recently.  base.bbclass<br>
*explicitly* sets FILESPATH to a set of variations thusly:<br>
<br>
FILESPATH = &quot;${@base_set_filespath([&quot;${FILE_DIRNAME}/${BP}&quot;, &quot;${FILE_DIRNAME}/${BPN}&quot;, &quot;${FILE_DIRNAME}/files&quot;], d)}&quot;<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 := &quot;${THISDIR}/${PN}:&quot;<br>
<br>
are you thinking you should also get all variations of &quot;gcc-4.7&quot;?<br>
because that&#39;s not what&#39;s going to happen.<br>
<br></blockquote><div>I&#39;m sorry, I&#39;ve not catched your last sentence. I set (as in the past) the FILESEXTRAPATHS_prepend := &quot;${THISDIR}/files:&quot;</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>