<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&#39;t allow system to recognize the FILESEXTRAPATHS_prepend setting in the append file.</div>
<div>I&#39;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">&lt;<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</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 Monday 17 December 2012 14:51:59 Giuseppe Condorelli wrote:<br>

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