diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 8d6b11c1cf..ce21496f99 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -331,7 +331,8 @@ def package_qa_check_arch(path,name,d, elf, messages): | |||
331 | = package_qa_get_machine_dict()[target_os][target_arch] | 331 | = package_qa_get_machine_dict()[target_os][target_arch] |
332 | 332 | ||
333 | # Check the architecture and endiannes of the binary | 333 | # Check the architecture and endiannes of the binary |
334 | if not machine == elf.machine(): | 334 | if not ((machine == elf.machine()) or \ |
335 | ("virtual/kernel" in provides) and (target_os == "linux-gnux32")): | ||
335 | messages.append("Architecture did not match (%d to %d) on %s" % \ | 336 | messages.append("Architecture did not match (%d to %d) on %s" % \ |
336 | (machine, elf.machine(), package_qa_clean_path(path,d))) | 337 | (machine, elf.machine(), package_qa_clean_path(path,d))) |
337 | elif not ((bits == elf.abiSize()) or \ | 338 | elif not ((bits == elf.abiSize()) or \ |