insane.bbclass: Fix MIPS and GNU_HASH check.
authorTom Rini <trini@embeddedalley.com>
Wed, 4 Feb 2009 20:47:28 +0000 (15:47 -0500)
committerTom Rini <trini@embeddedalley.com>
Wed, 4 Feb 2009 20:47:28 +0000 (15:47 -0500)
MIPS doesn't do GNU_HASH so if objdump tells us "[mips32]" or "[mips64]"
then set sane = True

classes/insane.bbclass

index 3a2cadc..5b31a01 100644 (file)
@@ -359,6 +359,8 @@ def package_qa_hash_style(path, name, d, elf):
             elf = True
         if "GNU_HASH" in line:
             sane = True
+        if "[mips32]" in line or "[mips64]" in line:
+           sane = True
 
     if elf and not sane:
         error_msg = "No GNU_HASH in the elf binary: '%s'" % path