<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 03/24/2016 12:04 PM, Christopher
Larson wrote:<br>
</div>
<blockquote
cite="mid:CABcZANkt+zzsRKL7ao2aP81Cu7Easc5rmmGHQzBdy0jwRNTDQg@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Mar 24, 2016 at 8:26 AM <<a
moz-do-not-send="true"
href="mailto:mariano.lopez@linux.intel.com"><a class="moz-txt-link-abbreviated" href="mailto:mariano.lopez@linux.intel.com">mariano.lopez@linux.intel.com</a></a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">From:
Mariano Lopez <<a moz-do-not-send="true"
href="mailto:mariano.lopez@linux.intel.com"
target="_blank">mariano.lopez@linux.intel.com</a>><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><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>
<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.<br>
<br>
<div class="moz-signature">Mariano<br>
</div>
</body>
</html>