summaryrefslogtreecommitdiffstats
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-04-05 15:11:13 +0100
commit208f397c0dc48d56bc7900e76eb48406d5865c72 (patch)
tree80e6c1903a7f24f839d0a4d3998969f1a4e08572
parent3c67ea2f357b6f97cce2fcbaef4dfd79b435ad6e (diff)
downloadopenembedded-core-208f397c0dc48d56bc7900e76eb48406d5865c72.tar.gz
openembedded-core-208f397c0dc48d56bc7900e76eb48406d5865c72.tar.bz2
openembedded-core-208f397c0dc48d56bc7900e76eb48406d5865c72.zip
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. 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>
-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 188f8c0423..71c9fd577b 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -67,6 +67,12 @@ python () {
else:
bb.debug(1, 'archiver: %s is included: %s' % (pn, reason))
+
+ # glibc-locale: do_fetch, do_unpack and do_patch tasks have been deleted,
+ # so avoid archiving source here.
+ if pn.startswith('glibc-locale'):
+ return
+
# 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'):