[OE-core] [PATCH 1/1] archiver.bbclass: Just archive gcc-source for all gcc recipes

Mariano Lopez mariano.lopez at linux.intel.com
Mon Mar 28 18:09:08 UTC 2016



On 03/24/2016 12:04 PM, Christopher Larson wrote:
>
>
> On Thu, Mar 24, 2016 at 8:26 AM <mariano.lopez at linux.intel.com 
> <mailto:mariano.lopez at linux.intel.com>> wrote:
>
>     From: Mariano Lopez <mariano.lopez at linux.intel.com
>     <mailto:mariano.lopez at linux.intel.com>>
>     +    # We just archive gcc-source for all the gcc related recipes
>     +    if d.getVar('BPN', True) in ['gcc', 'libgcc'] \
>     +            and not pn.startswith('gcc-source'):
>     +        bb.debug(1, 'archiver: %s is excluded, covered by
>     gcc-source' % pn)
>     +        return
>
>
> Hmm, I wonder if it'd be possible to make this more generic, check for 
> work-shared or something.

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.

Mariano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160328/04d148a8/attachment-0002.html>


More information about the Openembedded-core mailing list