diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-21 14:00:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:43:43 +0000 |
commit | 745d83f968a2fb090c8610fc38a160e14a1db8ab (patch) | |
tree | 6086cee0fdb83624443de5dce6f4208b33eb7f82 | |
parent | 340a680de2c4ba3e0b98a34fc86c856ee5553f6f (diff) | |
download | poky-745d83f968a2fb090c8610fc38a160e14a1db8ab.tar.gz |
sstate.bbclass: Ensure we expand stamp-extra-info
Without this change we can end up looking for <stamp>.${MACHINE}
instead of the expected expanded value.
(From OE-Core rev: 9f743b5033177216fe0e1d3e43ba831f356df08e)
(From OE-Core rev: de9f47b09d5434642ba925182ae21a8e77e7e429)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 6abf55bb14..c9b84c8d6c 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -259,7 +259,7 @@ def sstate_clean(ss, d): | |||
259 | bb.utils.unlockfile(lock) | 259 | bb.utils.unlockfile(lock) |
260 | 260 | ||
261 | stfile = d.getVar("STAMP", True) + ".do_" + ss['task'] | 261 | stfile = d.getVar("STAMP", True) + ".do_" + ss['task'] |
262 | extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info') | 262 | extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info', True) |
263 | oe.path.remove(stfile) | 263 | oe.path.remove(stfile) |
264 | oe.path.remove(stfile + "_setscene") | 264 | oe.path.remove(stfile + "_setscene") |
265 | if extrainf: | 265 | if extrainf: |