diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 546e276d9f..a7cd9ec112 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -125,12 +125,12 @@ def sstate_state_fromvars(d, task = None): | |||
125 | 125 | ||
126 | if task.startswith("do_"): | 126 | if task.startswith("do_"): |
127 | task = task[3:] | 127 | task = task[3:] |
128 | inputs = (d.getVarFlag("do_" + task, 'sstate-inputdirs', True) or "").split() | 128 | inputs = (d.getVarFlag("do_" + task, 'sstate-inputdirs') or "").split() |
129 | outputs = (d.getVarFlag("do_" + task, 'sstate-outputdirs', True) or "").split() | 129 | outputs = (d.getVarFlag("do_" + task, 'sstate-outputdirs') or "").split() |
130 | plaindirs = (d.getVarFlag("do_" + task, 'sstate-plaindirs', True) or "").split() | 130 | plaindirs = (d.getVarFlag("do_" + task, 'sstate-plaindirs') or "").split() |
131 | lockfiles = (d.getVarFlag("do_" + task, 'sstate-lockfile', True) or "").split() | 131 | lockfiles = (d.getVarFlag("do_" + task, 'sstate-lockfile') or "").split() |
132 | lockfilesshared = (d.getVarFlag("do_" + task, 'sstate-lockfile-shared', True) or "").split() | 132 | lockfilesshared = (d.getVarFlag("do_" + task, 'sstate-lockfile-shared') or "").split() |
133 | interceptfuncs = (d.getVarFlag("do_" + task, 'sstate-interceptfuncs', True) or "").split() | 133 | interceptfuncs = (d.getVarFlag("do_" + task, 'sstate-interceptfuncs') or "").split() |
134 | if not task or len(inputs) != len(outputs): | 134 | if not task or len(inputs) != len(outputs): |
135 | bb.fatal("sstate variables not setup correctly?!") | 135 | bb.fatal("sstate variables not setup correctly?!") |
136 | 136 | ||
@@ -425,7 +425,7 @@ def sstate_clean(ss, d): | |||
425 | 425 | ||
426 | d2 = d.createCopy() | 426 | d2 = d.createCopy() |
427 | stamp_clean = d.getVar("STAMPCLEAN") | 427 | stamp_clean = d.getVar("STAMPCLEAN") |
428 | extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info', True) | 428 | extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info') |
429 | if extrainf: | 429 | if extrainf: |
430 | d2.setVar("SSTATE_MANMACH", extrainf) | 430 | d2.setVar("SSTATE_MANMACH", extrainf) |
431 | wildcard_stfile = "%s.do_%s*.%s" % (stamp_clean, ss['task'], extrainf) | 431 | wildcard_stfile = "%s.do_%s*.%s" % (stamp_clean, ss['task'], extrainf) |