diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-05 15:37:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:43 +0100 |
commit | 34313c404738dce9e4732700e612cfb5a2d5ee58 (patch) | |
tree | 120caef6d1d25b4256ed67e2a13ce67a83a8947a | |
parent | 950be7ae8dd8f2413b091e6e5a071ad4d13c95e6 (diff) | |
download | poky-34313c404738dce9e4732700e612cfb5a2d5ee58.tar.gz |
sstate: Skip glibc do_stash_locale and gcc do_gcc_stash_builddir tasks
We never need these tasks as dependencies of other sstate tasks since
they're only ever needed to build artefacts so we can always skip them
and save some time/space.
(From OE-Core rev: 246df3df4b7da4b75de0745938438124c2b1d4a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index af588548c2..bc0ec54e3e 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -915,6 +915,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None): | |||
915 | if taskdependees[task][1] == "do_populate_lic": | 915 | if taskdependees[task][1] == "do_populate_lic": |
916 | return True | 916 | return True |
917 | 917 | ||
918 | # stash_locale and gcc_stash_builddir are never needed as a dependency for built objects | ||
919 | if taskdependees[task][1] == "do_stash_locale" or taskdependees[task][1] == "do_gcc_stash_builddir": | ||
920 | return True | ||
921 | |||
918 | # We only need to trigger packagedata through direct dependencies | 922 | # We only need to trigger packagedata through direct dependencies |
919 | # but need to preserve packagedata on packagedata links | 923 | # but need to preserve packagedata on packagedata links |
920 | if taskdependees[task][1] == "do_packagedata": | 924 | if taskdependees[task][1] == "do_packagedata": |