summaryrefslogtreecommitdiff
path: root/meta/classes/image-swab.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image-swab.bbclass')
-rw-r--r--meta/classes/image-swab.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image-swab.bbclass b/meta/classes/image-swab.bbclass
index b939ec4b4..23183b3ec 100644
--- a/meta/classes/image-swab.bbclass
+++ b/meta/classes/image-swab.bbclass
@@ -51,13 +51,13 @@ python() {
# and cross packages which aren't swabber-native or one of its dependencies
# I have ignored them for now...
if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('nativesdk', d) and not bb.data.inherits_class('cross', d):
- deps = (bb.data.getVarFlag('do_setscene', 'depends', d) or "").split()
+ deps = (d.getVarFlag('do_setscene', 'depends') or "").split()
deps.append('strace-native:do_populate_sysroot')
bb.data.setVarFlag('do_setscene', 'depends', " ".join(deps), d)
logdir = bb.data.expand("${TRACE_LOGDIR}", d)
bb.utils.mkdirhier(logdir)
else:
- bb.data.setVar('STRACEFUNC', '', d)
+ d.setVar('STRACEFUNC', '')
}
STRACEPID = "${@os.getpid()}"