summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 4d8443be40..d367faaa7b 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
246CLEANFUNCS += "sstate_cleanall" 248CLEANFUNCS += "sstate_cleanall"
247 249