diff options
Diffstat (limited to 'meta/classes/staging.bbclass')
-rw-r--r-- | meta/classes/staging.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 04d51ede42..831840456b 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -84,7 +84,7 @@ python do_populate_sysroot () { | |||
84 | # | 84 | # |
85 | 85 | ||
86 | bb.build.exec_func("sysroot_stage_all", d) | 86 | bb.build.exec_func("sysroot_stage_all", d) |
87 | for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split(): | 87 | for f in (d.getVar('SYSROOT_PREPROCESS_FUNCS', True) or '').split(): |
88 | bb.build.exec_func(f, d) | 88 | bb.build.exec_func(f, d) |
89 | } | 89 | } |
90 | 90 | ||
@@ -100,8 +100,8 @@ python do_populate_sysroot_setscene () { | |||
100 | addtask do_populate_sysroot_setscene | 100 | addtask do_populate_sysroot_setscene |
101 | 101 | ||
102 | python () { | 102 | python () { |
103 | if bb.data.getVar('do_stage', d, True) is not None: | 103 | if d.getVar('do_stage', True) is not None: |
104 | bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with Poky" % bb.data.getVar("FILE", d, True)) | 104 | bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with Poky" % d.getVar("FILE", True)) |
105 | } | 105 | } |
106 | 106 | ||
107 | 107 | ||