diff options
author | Chris Larson <clarson@mvista.com> | 2009-08-26 15:31:03 -0700 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2009-08-26 15:31:03 -0700 |
commit | 4cd5e9101dbefdefa183e4103989819893b2ffea (patch) | |
tree | 9c772afdd466468448485edf24da3a9c11e6c1e8 /classes | |
parent | 2259a81628ac8bafb19e2b9ba9acca1c0dad341d (diff) |
base.bbclass: add cleanall task.
Can be particularly useful when using multiple srctree recipes.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/base.bbclass | 6 |
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 |