diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/sanity.bbclass | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 4f57770157..b02036f9c5 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -12,7 +12,7 @@ INITRAMFS_TASK ?= "" | |||
12 | INITRAMFS_IMAGE_BUNDLE ?= "" | 12 | INITRAMFS_IMAGE_BUNDLE ?= "" |
13 | 13 | ||
14 | python __anonymous () { | 14 | python __anonymous () { |
15 | kerneltype = d.getVar('KERNEL_IMAGETYPE', True) or '' | 15 | kerneltype = d.getVar('KERNEL_IMAGETYPE', True) |
16 | if kerneltype == 'uImage': | 16 | if kerneltype == 'uImage': |
17 | depends = d.getVar("DEPENDS", True) | 17 | depends = d.getVar("DEPENDS", True) |
18 | depends = "%s u-boot-mkimage-native" % depends | 18 | depends = "%s u-boot-mkimage-native" % depends |
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index b5fab6a668..3b40ebec0a 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -150,10 +150,9 @@ def check_toolchain_tune(data, tune, multilib): | |||
150 | bb.debug(2, " %s: %s" % (feature, valid_tunes[feature])) | 150 | bb.debug(2, " %s: %s" % (feature, valid_tunes[feature])) |
151 | else: | 151 | else: |
152 | tune_errors.append("Feature '%s' is not defined." % feature) | 152 | tune_errors.append("Feature '%s' is not defined." % feature) |
153 | whitelist = localdata.getVar("TUNEABI_WHITELIST", True) or '' | 153 | whitelist = localdata.getVar("TUNEABI_WHITELIST", True) |
154 | override = localdata.getVar("TUNEABI_OVERRIDE", True) or '' | ||
155 | if whitelist: | 154 | if whitelist: |
156 | tuneabi = localdata.getVar("TUNEABI_tune-%s" % tune, True) or '' | 155 | tuneabi = localdata.getVar("TUNEABI_tune-%s" % tune, True) |
157 | if not tuneabi: | 156 | if not tuneabi: |
158 | tuneabi = tune | 157 | tuneabi = tune |
159 | if True not in [x in whitelist.split() for x in tuneabi.split()]: | 158 | if True not in [x in whitelist.split() for x in tuneabi.split()]: |
@@ -265,7 +264,7 @@ def check_connectivity(d): | |||
265 | # CONNECTIVITY_CHECK_URIS are set | 264 | # CONNECTIVITY_CHECK_URIS are set |
266 | network_enabled = not d.getVar('BB_NO_NETWORK', True) | 265 | network_enabled = not d.getVar('BB_NO_NETWORK', True) |
267 | check_enabled = len(test_uris) | 266 | check_enabled = len(test_uris) |
268 | # Take a copy of the data store and unset MIRRORS and PREMIRROS | 267 | # Take a copy of the data store and unset MIRRORS and PREMIRRORS |
269 | data = bb.data.createCopy(d) | 268 | data = bb.data.createCopy(d) |
270 | data.delVar('PREMIRRORS') | 269 | data.delVar('PREMIRRORS') |
271 | data.delVar('MIRRORS') | 270 | data.delVar('MIRRORS') |