summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2014-07-15 13:26:59 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-19 00:09:01 +0100
commita237888427f3058403971a0037d5114ea2c5b02f (patch)
tree8b75a7811595b54802a3f3205f468bd65b6615d2 /meta
parent478dbd3f007ec4c2dc44d19c4344c812726d8d4a (diff)
downloadpoky-a237888427f3058403971a0037d5114ea2c5b02f.tar.gz
insane.bbclass: avoid QA errors for n32 kernel
A series of commits had been integrated to avoid qa checking code throwing the bitsize not matched error for x32 kernel files, the same logic is also needed by n32 kernel which was not addressed in that series. This commit extends the condition for n32 kernel files. (From OE-Core rev: 6a169be15439f12169869ecef890594796e70e58) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index c71e8e283e..b26216e8b4 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -461,11 +461,11 @@ def package_qa_check_arch(path,name,d, elf, messages):
461 461
462 # Check the architecture and endiannes of the binary 462 # Check the architecture and endiannes of the binary
463 if not ((machine == elf.machine()) or \ 463 if not ((machine == elf.machine()) or \
464 ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32"))): 464 ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32" or target_os == "linux-gnun32"))):
465 messages["arch"] = "Architecture did not match (%d to %d) on %s" % \ 465 messages["arch"] = "Architecture did not match (%d to %d) on %s" % \
466 (machine, elf.machine(), package_qa_clean_path(path,d)) 466 (machine, elf.machine(), package_qa_clean_path(path,d))
467 elif not ((bits == elf.abiSize()) or \ 467 elif not ((bits == elf.abiSize()) or \
468 ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32"))): 468 ((("virtual/kernel" in provides) or bb.data.inherits_class("module", d) ) and (target_os == "linux-gnux32" or target_os == "linux-gnun32"))):
469 messages["arch"] = "Bit size did not match (%d to %d) %s on %s" % \ 469 messages["arch"] = "Bit size did not match (%d to %d) %s on %s" % \
470 (bits, elf.abiSize(), bpn, package_qa_clean_path(path,d)) 470 (bits, elf.abiSize(), bpn, package_qa_clean_path(path,d))
471 elif not littleendian == elf.isLittleEndian(): 471 elif not littleendian == elf.isLittleEndian():