summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index d57c183004..00a709ba44 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -40,7 +40,7 @@ python () {
40 bb.data.setVar('SSTATE_SCAN_CMD', scan_cmd, d) 40 bb.data.setVar('SSTATE_SCAN_CMD', scan_cmd, d)
41 41
42 namemap = [] 42 namemap = []
43 for task in (bb.data.getVar('SSTATETASKS', d, True) or "").split(): 43 for task in set((bb.data.getVar('SSTATETASKS', d, True) or "").split()):
44 namemap.append(bb.data.getVarFlag(task, 'sstate-name', d)) 44 namemap.append(bb.data.getVarFlag(task, 'sstate-name', d))
45 funcs = bb.data.getVarFlag(task, 'prefuncs', d) or "" 45 funcs = bb.data.getVarFlag(task, 'prefuncs', d) or ""
46 funcs = "sstate_task_prefunc " + funcs 46 funcs = "sstate_task_prefunc " + funcs
@@ -195,7 +195,7 @@ def sstate_clean_cachefile(ss, d):
195 oe.path.remove(sstatepkgfile) 195 oe.path.remove(sstatepkgfile)
196 196
197def sstate_clean_cachefiles(d): 197def sstate_clean_cachefiles(d):
198 for task in (bb.data.getVar('SSTATETASKS', d, True) or "").split(): 198 for task in set((bb.data.getVar('SSTATETASKS', d, True) or "").split()):
199 ss = sstate_state_fromvars(d, task[3:]) 199 ss = sstate_state_fromvars(d, task[3:])
200 sstate_clean_cachefile(ss, d) 200 sstate_clean_cachefile(ss, d)
201 201