summaryrefslogtreecommitdiff
path: root/classes/rm_work.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/rm_work.bbclass')
-rw-r--r--classes/rm_work.bbclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/classes/rm_work.bbclass b/classes/rm_work.bbclass
index 0f613b7a95..e0a4ccf133 100644
--- a/classes/rm_work.bbclass
+++ b/classes/rm_work.bbclass
@@ -7,7 +7,7 @@
#
RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
-BB_DEFAULT_TASK = "rm_work"
+BB_DEFAULT_TASK = "rm_work_all"
do_rm_work () {
cd ${WORKDIR}
@@ -23,4 +23,9 @@ do_rm_work () {
# Uncomment me when we can use bitbake 1.8.8
#addtask rm_work after do_${RMWORK_ORIG_TASK}
addtask rm_work after do_build
-do_rm_work[recrdeptask] = "do_rm_work"
+
+do_rm_work_all () {
+ :
+}
+do_rm_work_all[recrdeptask] = "do_rm_work"
+addtask rm_work_all