Skip to contentSkip to conversation

rm_work: Remove redundant 'after' in addtask statement

PATCH New Jacob Kroon 1 participant 1 message Sep 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rm_work: Remove redundant 'after' in addtask statement

Introduced in commit b3de5d5795767a4b8c331fa5040166e7e410eeec.

---
 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.

meta/classes/rm_work.bbclass +1 -1
index c478f4a187..a6bd3f719f 100644
@@ -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 () {
Signature · 1 line
2.21.0