summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenbo Gao <zhenbo.gao@windriver.com>2017-05-10 07:50:26 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-05 14:13:48 (GMT)
commitc4f7c39a4394cd55df81cd698204b277eab9eb3d (patch)
treefd6569586b5a13141df651e1aba76fb2d65df769
parent5f6fc4ba8fe52f6a8c0aa77892177bf03427835b (diff)
downloadpoky-c4f7c39a4394cd55df81cd698204b277eab9eb3d.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: 208f397c0dc48d56bc7900e76eb48406d5865c72) Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 188f8c0..71c9fd5 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', True) in ['gcc', 'libgcc'] \ 77 if d.getVar('BPN', True) in ['gcc', 'libgcc'] \
72 and not pn.startswith('gcc-source'): 78 and not pn.startswith('gcc-source'):