summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-08-26 15:31:03 -0700
committerChris Larson <clarson@mvista.com>2009-08-26 15:31:03 -0700
commit4cd5e9101dbefdefa183e4103989819893b2ffea (patch)
tree9c772afdd466468448485edf24da3a9c11e6c1e8
parent2259a81628ac8bafb19e2b9ba9acca1c0dad341d (diff)
base.bbclass: add cleanall task.
Can be particularly useful when using multiple srctree recipes. Signed-off-by: Chris Larson <clarson@mvista.com>
-rw-r--r--classes/base.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index a350b38850..97ccf5dfc3 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -523,6 +523,12 @@ python base_do_clean() {
os.system('rm -f '+ dir)
}
+python do_cleanall() {
+ pass
+}
+do_cleanall[recrdeptask] = "do_clean"
+addtask cleanall after do_clean
+
#Uncomment this for bitbake 1.8.12
#addtask rebuild after do_${BB_DEFAULT_TASK}
addtask rebuild