<div dir="ltr">Fair enough, thanks for the clarification!</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 28, 2016 at 11:08 AM Mariano Lopez <<a href="mailto:mariano.lopez@linux.intel.com">mariano.lopez@linux.intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div>On 03/24/2016 12:04 PM, Christopher
Larson wrote:<br>
</div>
</div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr"><div class="gmail_quote">
<div dir="ltr">On Thu, Mar 24, 2016 at 8:26 AM <<a href="mailto:mariano.lopez@linux.intel.com" target="_blank"><a href="mailto:mariano.lopez@linux.intel.com" target="_blank">mariano.lopez@linux.intel.com</a></a>>
wrote:<br>
</div>
</div></div></blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From:
Mariano Lopez <<a href="mailto:mariano.lopez@linux.intel.com" target="_blank">mariano.lopez@linux.intel.com</a>></blockquote></div></div></blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
+ # We just archive gcc-source for all the gcc related
recipes<br>
+ if d.getVar('BPN', True) in ['gcc', 'libgcc'] \<br>
+ and not pn.startswith('gcc-source'):<br>
+ bb.debug(1, 'archiver: %s is excluded, covered by
gcc-source' % pn)<br>
+ return<br>
</blockquote></div></div></blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr"><div class="gmail_quote">
<div><br>
</div>
<div>Hmm, I wonder if it'd be possible to make this more
generic, check for work-shared or something. <br>
</div>
</div></div></blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"></div>
</div>
</blockquote>
<br>
I was thinking the same when writing the patch, but it seems gcc is
more of a corner case. The only two recipes that use work-shared are
gcc and the kernel, the kernel case it's already covered checking
for the class "kernel-yocto". In case of gcc we can't check for a
class, we would need for work-shared and gcc, and that would be the
almost the same comparison as is in the patch.</div><div text="#000000" bgcolor="#FFFFFF"><br>
<br>
<div>Mariano<br>
</div>
</div></blockquote></div>