[OE-core] [PATCH] rm_work: Remove redundant 'after' in addtask statement

Jacob Kroon jacob.kroon at gmail.com
Sun Sep 1 05:53:56 UTC 2019


Introduced in commit b3de5d5795767a4b8c331fa5040166e7e410eeec.

Signed-off-by: Jacob Kroon <jacob.kroon at gmail.com>
---
 meta/classes/rm_work.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I considered adding a warning to bitbake when the 'after'/'before'
groups are empty, but decided not to, thinking it might be useful to be
able to pass variables that could potentially evaluate to nothing.

diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index c478f4a187..a6bd3f719f 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -121,7 +121,7 @@ do_rm_work_all () {
 }
 do_rm_work_all[recrdeptask] = "do_rm_work"
 do_rm_work_all[noexec] = "1"
-addtask rm_work_all after before do_build
+addtask rm_work_all before do_build
 
 do_populate_sdk[postfuncs] += "rm_work_populatesdk"
 rm_work_populatesdk () {
-- 
2.21.0



More information about the Openembedded-core mailing list