diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 24b492604d..ba0556f960 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -241,7 +241,9 @@ def sstate_clean(ss, d): | |||
241 | for lock in locks: | 241 | for lock in locks: |
242 | bb.utils.unlockfile(lock) | 242 | bb.utils.unlockfile(lock) |
243 | 243 | ||
244 | oe.path.remove(d.getVar("STAMP", True) + ".do_" + ss['task'] + "*") | 244 | stfile = d.getVar("STAMP", True) + ".do_" + ss['task'] |
245 | oe.path.remove(stfile) | ||
246 | oe.path.remove(stfile + ".*") | ||
245 | 247 | ||
246 | CLEANFUNCS += "sstate_cleanall" | 248 | CLEANFUNCS += "sstate_cleanall" |
247 | 249 | ||