]> code.ossystems Code Review - openembedded-core.git/commitdiff
utility-tasks: Drop fetchall and checkuriall tasks
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Feb 2018 09:48:48 +0000 (09:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Feb 2018 09:53:36 +0000 (09:53 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utility-tasks.bbclass

index 587bfd4ab5b81a11479950ca9891a917abf205c0..b1f27d3658fd120ae923a9e3a68fcef8a9f28990 100644 (file)
@@ -50,17 +50,4 @@ python do_checkuri() {
         bb.fatal(str(e))
 }
 
-addtask checkuriall after do_checkuri
-do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri"
-do_checkuriall[recideptask] = "do_${BB_DEFAULT_TASK}"
-do_checkuriall[nostamp] = "1"
-do_checkuriall() {
-       :
-}
 
-addtask fetchall after do_fetch
-do_fetchall[recrdeptask] = "do_fetchall do_fetch"
-do_fetchall[recideptask] = "do_${BB_DEFAULT_TASK}"
-do_fetchall() {
-       :
-}