diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 358b501e57..26c59abf8e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -406,10 +406,13 @@ def check_gcc3(data): | |||
406 | 406 | ||
407 | return False | 407 | return False |
408 | 408 | ||
409 | addtask cleanall after do_clean | 409 | addtask cleansstate after do_clean |
410 | python do_cleanall() { | 410 | python do_cleansstate() { |
411 | sstate_clean_cachefiles(d) | 411 | sstate_clean_cachefiles(d) |
412 | } | ||
412 | 413 | ||
414 | addtask cleanall after do_cleansstate | ||
415 | python do_cleanall() { | ||
413 | src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split() | 416 | src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split() |
414 | if len(src_uri) == 0: | 417 | if len(src_uri) == 0: |
415 | return | 418 | return |