summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/mlinux_metadata_scm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/mlinux_metadata_scm.bbclass b/classes/mlinux_metadata_scm.bbclass
index 64da21f..b220344 100644
--- a/classes/mlinux_metadata_scm.bbclass
+++ b/classes/mlinux_metadata_scm.bbclass
@@ -3,7 +3,7 @@ MLINUX_METADATA_BRANCH = "${@base_get_metadata_git_branch("${OEROOT}",None).stri
MLINUX_LAYERS = "${@mlinux_layers(bb,d)}"
def mlinux_layers(bb, d):
- layers = (bb.data.getVar("BBLAYERS", d, 1) or "").split()
+ layers = (d.getVar("BBLAYERS", d, 1) or "").split()
layer_revs = ""
for layer in layers: