[oe-commits] org.oe.dev rm_work: Fix to work with bitbake 1.8. Changes to make this optimal need 1.8.8 so they're in comments for now

rpurdie commit openembedded-commits at lists.openembedded.org
Fri Aug 17 09:03:31 UTC 2007


rm_work: Fix to work with bitbake 1.8. Changes to make this optimal need 1.8.8 so they're in comments for now

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: cdc64e6bfd8806a28a692a44a61dbbd00da53b67
ViewMTN: http://monotone.openembedded.org/revision.psp?id=cdc64e6bfd8806a28a692a44a61dbbd00da53b67
Files:
1
classes/rm_work.bbclass
Diffs:

#
# mt diff -r84bfe56f75bc502e743ed650739a0764fffe433a -rcdc64e6bfd8806a28a692a44a61dbbd00da53b67
#
# 
# 
# patch "classes/rm_work.bbclass"
#  from [ac5939a096d5914a050f77e376a6cf68c3e775a5]
#    to [3c8ff49c617d0924fef4b991d29f8b91ab35b298]
# 
============================================================
--- classes/rm_work.bbclass	ac5939a096d5914a050f77e376a6cf68c3e775a5
+++ classes/rm_work.bbclass	3c8ff49c617d0924fef4b991d29f8b91ab35b298
@@ -6,6 +6,9 @@
 # INHERIT += "rm_work"
 #
 
+RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
+BB_DEFAULT_TASK = "rm_work"
+
 do_rm_work () {
     cd ${WORKDIR}
     for dir in *
@@ -17,13 +20,7 @@ do_rm_work () {
         fi
     done
 }
+# 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"
-
-addtask rmall after do_rm_work
-do_rmall[recrdeptask] = "do_rm_work"
-do_rmall() {
-        :
-}
-
-
-addtask rm_work before do_build
-addtask rm_work after do_populate_staging






More information about the Openembedded-commits mailing list