summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
authorZhenbo Gao <zhenbo.gao@windriver.com>2017-05-10 15:50:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-07 17:07:57 +0000
commita81c669973ea5ce225e730580e25a3e1bde1a45a (patch)
treee706b207d4bd2ceaec8f502980f6ea87f64d5169 /meta/classes/archiver.bbclass
parent8c38e42bfd6794ce8a8e750f0835f2ce541d7efd (diff)
downloadpoky-a81c669973ea5ce225e730580e25a3e1bde1a45a.tar.gz
archiver: avoid archiving source for glibc-locale
Avoid archiving source for glibc-locale as its tasks do_fetch do_unpack and do_patch have already been deleted. (From OE-Core rev: 50ed224ebc8d88a900febdc78013fa0c791d71cf) (From OE-Core rev: 32a332a54e8b857668eb60e36152b8d2ecec15bf) (From OE-Core rev: 23d55b31272568ce7d8b4549381c31512ff93b6a) Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 2dce505138..82f0b16138 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -67,6 +67,12 @@ python () {
67 else: 67 else:
68 bb.debug(1, 'archiver: %s is included: %s' % (pn, reason)) 68 bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))
69 69
70
71 # glibc-locale: do_fetch, do_unpack and do_patch tasks have been deleted,
72 # so avoid archiving source here.
73 if pn.startswith('glibc-locale'):
74 return
75
70 # We just archive gcc-source for all the gcc related recipes 76 # We just archive gcc-source for all the gcc related recipes
71 if d.getVar('BPN') in ['gcc', 'libgcc'] \ 77 if d.getVar('BPN') in ['gcc', 'libgcc'] \
72 and not pn.startswith('gcc-source'): 78 and not pn.startswith('gcc-source'):