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