diff options
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 4c3a038609..a9c6fe5933 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -45,7 +45,7 @@ def get_sdk_install_targets(d): | |||
45 | sdk_install_targets = d.getVar('SDK_TARGETS', True) | 45 | sdk_install_targets = d.getVar('SDK_TARGETS', True) |
46 | 46 | ||
47 | depd = d.getVar('BB_TASKDEPDATA', False) | 47 | depd = d.getVar('BB_TASKDEPDATA', False) |
48 | for v in depd.itervalues(): | 48 | for v in depd.values(): |
49 | if v[1] == 'do_image_complete': | 49 | if v[1] == 'do_image_complete': |
50 | if v[0] not in sdk_install_targets: | 50 | if v[0] not in sdk_install_targets: |
51 | sdk_install_targets += ' {}'.format(v[0]) | 51 | sdk_install_targets += ' {}'.format(v[0]) |
@@ -267,7 +267,7 @@ python copy_buildsystem () { | |||
267 | # Ensure any variables set from the external environment (by way of | 267 | # Ensure any variables set from the external environment (by way of |
268 | # BB_ENV_EXTRAWHITE) are set in the SDK's configuration | 268 | # BB_ENV_EXTRAWHITE) are set in the SDK's configuration |
269 | extralines = [] | 269 | extralines = [] |
270 | for name, value in env_whitelist_values.iteritems(): | 270 | for name, value in env_whitelist_values.items(): |
271 | actualvalue = d.getVar(name, True) or '' | 271 | actualvalue = d.getVar(name, True) or '' |
272 | if value != actualvalue: | 272 | if value != actualvalue: |
273 | extralines.append('%s = "%s"\n' % (name, actualvalue)) | 273 | extralines.append('%s = "%s"\n' % (name, actualvalue)) |