diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2022-11-11 18:06:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:35:05 +0000 |
commit | 75d5813df2eae23c7e6075158b818fe2c8507d7e (patch) | |
tree | e6b9a562b747dff306bd01ec4d54b803754f896e /meta | |
parent | d97e4658e8f928c540aa122b01e9659763c5aaf1 (diff) | |
download | poky-75d5813df2eae23c7e6075158b818fe2c8507d7e.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: 1e32ad0849f06aee92fe844e8eaee73c5935bfb0)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3dd9f6e398844380d3765c54d35afe0d2ccf82e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 3513269bca..dd6cf12920 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -1084,7 +1084,7 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None): | |||
1084 | 1084 | ||
1085 | logit("Considering setscene task: %s" % (str(taskdependees[task])), log) | 1085 | logit("Considering setscene task: %s" % (str(taskdependees[task])), log) |
1086 | 1086 | ||
1087 | directtasks = ["do_populate_lic", "do_deploy_source_date_epoch", "do_shared_workdir", "do_stash_locale", "do_gcc_stash_builddir", "do_create_spdx"] | 1087 | 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"] |
1088 | 1088 | ||
1089 | def isNativeCross(x): | 1089 | def isNativeCross(x): |
1090 | return x.endswith("-native") or "-cross-" in x or "-crosssdk" in x or x.endswith("-cross") | 1090 | return x.endswith("-native") or "-cross-" in x or "-crosssdk" in x or x.endswith("-cross") |