diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-09 09:48:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-15 11:23:10 +0000 |
commit | daf59ef368c0a0ad74cbc881ab4933cc10f06e8c (patch) | |
tree | 41a95a43bd19694cc1d9696fa448a57de54b4f6b /meta/classes | |
parent | f16d8be9ab97f1d819da45716efa05dfc50088e9 (diff) | |
download | poky-daf59ef368c0a0ad74cbc881ab4933cc10f06e8c.tar.gz |
utility-tasks: Drop fetchall and checkuriall tasks
The same thing can now be done with "bitbake <target> --runall=fetch"
or "bitbake <target> --runall=checkuri".
Dropping the tasks takes "bitbake core-image-sato -g" from 22s to 8s
since it no longer has to resolve the recursive dependencies (it
doesn't know if any given target will touch them or not until it
computes them). That is a significant enough win that its worth any
impact this may have on the small number of users using the tasks.
(From OE-Core rev: 8bbb43e948af45d0fa5ab31b456147f691fa2ec3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/utility-tasks.bbclass | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index 587bfd4ab5..b1f27d3658 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass | |||
@@ -50,17 +50,4 @@ python do_checkuri() { | |||
50 | bb.fatal(str(e)) | 50 | bb.fatal(str(e)) |
51 | } | 51 | } |
52 | 52 | ||
53 | addtask checkuriall after do_checkuri | ||
54 | do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri" | ||
55 | do_checkuriall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
56 | do_checkuriall[nostamp] = "1" | ||
57 | do_checkuriall() { | ||
58 | : | ||
59 | } | ||
60 | 53 | ||
61 | addtask fetchall after do_fetch | ||
62 | do_fetchall[recrdeptask] = "do_fetchall do_fetch" | ||
63 | do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}" | ||
64 | do_fetchall() { | ||
65 | : | ||
66 | } | ||