summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 7680a59d64..479d39c67e 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -150,6 +150,9 @@ def package_qa_get_machine_dict(d):
150 "linux-gnux32" : { 150 "linux-gnux32" : {
151 "x86_64": (62, 0, 0, True, 32), 151 "x86_64": (62, 0, 0, True, 32),
152 }, 152 },
153 "linux-muslx32" : {
154 "x86_64": (62, 0, 0, True, 32),
155 },
153 "linux-gnun32" : { 156 "linux-gnun32" : {
154 "mips64": ( 8, 0, 0, False, 32), 157 "mips64": ( 8, 0, 0, False, 32),
155 "mips64el": ( 8, 0, 0, True, 32), 158 "mips64el": ( 8, 0, 0, True, 32),
@@ -488,7 +491,7 @@ def package_qa_check_arch(path,name,d, elf, messages):
488 491
489 # Check the architecture and endiannes of the binary 492 # Check the architecture and endiannes of the binary
490 is_32 = (("virtual/kernel" in provides) or bb.data.inherits_class("module", d)) and \ 493 is_32 = (("virtual/kernel" in provides) or bb.data.inherits_class("module", d)) and \
491 (target_os == "linux-gnux32" or re.match('mips64.*32', d.getVar('DEFAULTTUNE'))) 494 (target_os == "linux-gnux32" or target_os == "linux-muslx32" or re.match('mips64.*32', d.getVar('DEFAULTTUNE')))
492 if not ((machine == elf.machine()) or is_32): 495 if not ((machine == elf.machine()) or is_32):
493 package_qa_add_message(messages, "arch", "Architecture did not match (%s, expected %s) on %s" % \ 496 package_qa_add_message(messages, "arch", "Architecture did not match (%s, expected %s) on %s" % \
494 (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine), package_qa_clean_path(path,d))) 497 (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine), package_qa_clean_path(path,d)))