summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 7758f3c44d..42982abef3 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -61,6 +61,12 @@ python () {
61 else: 61 else:
62 bb.debug(1, 'archiver: %s is included: %s' % (pn, reason)) 62 bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))
63 63
64 # We just archive gcc-source for all the gcc related recipes
65 if d.getVar('BPN', True) in ['gcc', 'libgcc'] \
66 and not pn.startswith('gcc-source'):
67 bb.debug(1, 'archiver: %s is excluded, covered by gcc-source' % pn)
68 return
69
64 ar_src = d.getVarFlag('ARCHIVER_MODE', 'src', True) 70 ar_src = d.getVarFlag('ARCHIVER_MODE', 'src', True)
65 ar_dumpdata = d.getVarFlag('ARCHIVER_MODE', 'dumpdata', True) 71 ar_dumpdata = d.getVarFlag('ARCHIVER_MODE', 'dumpdata', True)
66 ar_recipe = d.getVarFlag('ARCHIVER_MODE', 'recipe', True) 72 ar_recipe = d.getVarFlag('ARCHIVER_MODE', 'recipe', True)