diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-15 15:12:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 10:31:41 +0000 |
commit | e03460b0bc343ca0721d27b0cd550892eeb2692e (patch) | |
tree | 9b08c70ad43a9fdeef34bf40916bc183dae35f57 /meta/classes | |
parent | 0ca67e4d97692c25b6154938cee7a228cca7fa60 (diff) | |
download | poky-e03460b0bc343ca0721d27b0cd550892eeb2692e.tar.gz |
sstate: Allow optimisation of do_create_spdx task dependencies
do_create_spdx tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.
(From OE-Core rev: 6723a045c3a46537bb76111f8306b5960e532522)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 163bdf0b5f..1c0cae4893 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"] | 1087 | directtasks = ["do_populate_lic", "do_deploy_source_date_epoch", "do_shared_workdir", "do_stash_locale", "do_gcc_stash_builddir", "do_create_spdx"] |
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") |