diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2022-11-11 18:06:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-14 16:19:43 +0000 |
commit | 7c1e70efccea05e050de43423e6612c2d2eaf450 (patch) | |
tree | 8b443885379e0565f0156cbc35776cfaef661abe /meta/classes-global | |
parent | 0f9773ee717d54ce1ed5001bc5ef4ec470f13476 (diff) | |
download | poky-7c1e70efccea05e050de43423e6612c2d2eaf450.tar.gz |
sstate: Allow optimisation of do_deploy_archives task dependencies
do_deploy_archives tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.
(From OE-Core rev: 3dd9f6e398844380d3765c54d35afe0d2ccf82e7)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r-- | meta/classes-global/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 2c8e7b8cc2..21959ff13b 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass | |||
@@ -1097,7 +1097,7 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None): | |||
1097 | 1097 | ||
1098 | logit("Considering setscene task: %s" % (str(taskdependees[task])), log) | 1098 | logit("Considering setscene task: %s" % (str(taskdependees[task])), log) |
1099 | 1099 | ||
1100 | directtasks = ["do_populate_lic", "do_deploy_source_date_epoch", "do_shared_workdir", "do_stash_locale", "do_gcc_stash_builddir", "do_create_spdx"] | 1100 | directtasks = ["do_populate_lic", "do_deploy_source_date_epoch", "do_shared_workdir", "do_stash_locale", "do_gcc_stash_builddir", "do_create_spdx", "do_deploy_archives"] |
1101 | 1101 | ||
1102 | def isNativeCross(x): | 1102 | def isNativeCross(x): |
1103 | return x.endswith("-native") or "-cross-" in x or "-crosssdk" in x or x.endswith("-cross") | 1103 | return x.endswith("-native") or "-cross-" in x or "-crosssdk" in x or x.endswith("-cross") |