diff options
-rw-r--r-- | meta/classes/insane.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b347638d72..17c9284391 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -543,8 +543,8 @@ def package_qa_check_arch(path,name,d, elf, messages): | |||
543 | # Check the architecture and endiannes of the binary | 543 | # Check the architecture and endiannes of the binary |
544 | if not ((machine == elf.machine()) or \ | 544 | if not ((machine == elf.machine()) or \ |
545 | ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32" or target_os == "linux-gnun32"))): | 545 | ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32" or target_os == "linux-gnun32"))): |
546 | package_qa_add_message(messages, "arch", "Architecture did not match (%d to %d) on %s" % \ | 546 | package_qa_add_message(messages, "arch", "Architecture did not match (%s, expected %s) on %s" % \ |
547 | (machine, elf.machine(), package_qa_clean_path(path,d))) | 547 | (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine), package_qa_clean_path(path,d))) |
548 | elif not ((bits == elf.abiSize()) or \ | 548 | elif not ((bits == elf.abiSize()) or \ |
549 | ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32" or target_os == "linux-gnun32"))): | 549 | ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32" or target_os == "linux-gnun32"))): |
550 | package_qa_add_message(messages, "arch", "Bit size did not match (%d to %d) %s on %s" % \ | 550 | package_qa_add_message(messages, "arch", "Bit size did not match (%d to %d) %s on %s" % \ |