summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-19 09:39:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-20 12:26:27 +0000
commitc61fe390bcc30680d638c85fe182948ab94cab7e (patch)
treeab7cf687dec25b64fa9ed314a6d0e0f47afe0d66 /meta/lib
parentb6b6d923a6f81c96590d091cd9eebd1bd2031045 (diff)
downloadpoky-c61fe390bcc30680d638c85fe182948ab94cab7e.tar.gz
sstatesig: Update for the removal of sstate-name
We've dropped sstate-name so we can remove this code. The fallback was incorrect since we use taskname without the do_ prefix so this patch updates to account for that too. (From OE-Core rev: 72ff58124081333d46d37f31f2d1bf40d715e3bd) (From OE-Core rev: dbc1426ee75bcf2f6d8b18312522a9b823e23173) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/sstatesig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index b13d11c055..797e9dd6a9 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -142,9 +142,7 @@ def find_siginfo(pn, taskname, taskhashlist, d):
142 localdata.setVar('BB_TASKHASH', hashval) 142 localdata.setVar('BB_TASKHASH', hashval)
143 if pn.endswith('-native') or pn.endswith('-crosssdk') or pn.endswith('-cross'): 143 if pn.endswith('-native') or pn.endswith('-crosssdk') or pn.endswith('-cross'):
144 localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/") 144 localdata.setVar('SSTATE_EXTRAPATH', "${NATIVELSBSTRING}/")
145 sstatename = d.getVarFlag(taskname, "sstate-name") 145 sstatename = taskname[3:]
146 if not sstatename:
147 sstatename = taskname
148 filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG', True), sstatename) 146 filespec = '%s_%s.*.siginfo' % (localdata.getVar('SSTATE_PKG', True), sstatename)
149 147
150 if hashval != '*': 148 if hashval != '*':