summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 11:12:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-05 10:23:20 -0800
commit22f0df2aa737bda1ae3bce862ee5ceba5b2d204b (patch)
treea2d5146349c49e369e64eb05bb0d4a2ae373735d /meta/classes/sstate.bbclass
parent06f2f8ce0a3093973ca54b48f542f8485b666079 (diff)
downloadpoky-22f0df2aa737bda1ae3bce862ee5ceba5b2d204b.tar.gz
sstate: Remove unecessary bb.data.expand()
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index b1cdf0f838..e4338e0f78 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -68,13 +68,13 @@ def sstate_state_fromvars(d, task = None):
68 bb.fatal("sstate code running without task context?!") 68 bb.fatal("sstate code running without task context?!")
69 task = task.replace("_setscene", "") 69 task = task.replace("_setscene", "")
70 70
71 name = bb.data.expand(d.getVarFlag("do_" + task, 'sstate-name'), d) 71 name = d.getVarFlag("do_" + task, 'sstate-name', True)
72 inputs = (bb.data.expand(d.getVarFlag("do_" + task, 'sstate-inputdirs') or "", d)).split() 72 inputs = (d.getVarFlag("do_" + task, 'sstate-inputdirs', True) or "").split()
73 outputs = (bb.data.expand(d.getVarFlag("do_" + task, 'sstate-outputdirs') or "", d)).split() 73 outputs = (d.getVarFlag("do_" + task, 'sstate-outputdirs', True) or "").split()
74 plaindirs = (bb.data.expand(d.getVarFlag("do_" + task, 'sstate-plaindirs') or "", d)).split() 74 plaindirs = (d.getVarFlag("do_" + task, 'sstate-plaindirs', True) or "").split()
75 lockfiles = (bb.data.expand(d.getVarFlag("do_" + task, 'sstate-lockfile') or "", d)).split() 75 lockfiles = (d.getVarFlag("do_" + task, 'sstate-lockfile', True) or "").split()
76 lockfilesshared = (bb.data.expand(d.getVarFlag("do_" + task, 'sstate-lockfile-shared') or "", d)).split() 76 lockfilesshared = (d.getVarFlag("do_" + task, 'sstate-lockfile-shared', True) or "").split()
77 interceptfuncs = (bb.data.expand(d.getVarFlag("do_" + task, 'sstate-interceptfuncs') or "", d)).split() 77 interceptfuncs = (d.getVarFlag("do_" + task, 'sstate-interceptfuncs', True) or "").split()
78 if not name or len(inputs) != len(outputs): 78 if not name or len(inputs) != len(outputs):
79 bb.fatal("sstate variables not setup correctly?!") 79 bb.fatal("sstate variables not setup correctly?!")
80 80