diff options
Diffstat (limited to 'meta')
-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 11c1feb84a..9ce336415a 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -443,11 +443,11 @@ def package_qa_check_arch(path,name,d, elf, messages): | |||
443 | 443 | ||
444 | # Check the architecture and endiannes of the binary | 444 | # Check the architecture and endiannes of the binary |
445 | if not ((machine == elf.machine()) or \ | 445 | if not ((machine == elf.machine()) or \ |
446 | ("virtual/kernel" in provides) and (target_os == "linux-gnux32")): | 446 | ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32"))): |
447 | messages.append("Architecture did not match (%d to %d) on %s" % \ | 447 | messages.append("Architecture did not match (%d to %d) on %s" % \ |
448 | (machine, elf.machine(), package_qa_clean_path(path,d))) | 448 | (machine, elf.machine(), package_qa_clean_path(path,d))) |
449 | elif not ((bits == elf.abiSize()) or \ | 449 | elif not ((bits == elf.abiSize()) or \ |
450 | ("virtual/kernel" in provides) and (target_os == "linux-gnux32")): | 450 | ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32"))): |
451 | messages.append("Bit size did not match (%d to %d) %s on %s" % \ | 451 | messages.append("Bit size did not match (%d to %d) %s on %s" % \ |
452 | (bits, elf.abiSize(), bpn, package_qa_clean_path(path,d))) | 452 | (bits, elf.abiSize(), bpn, package_qa_clean_path(path,d))) |
453 | elif not littleendian == elf.isLittleEndian(): | 453 | elif not littleendian == elf.isLittleEndian(): |