From: Tom Rini Date: Wed, 4 Feb 2009 20:47:28 +0000 (-0500) Subject: insane.bbclass: Fix MIPS and GNU_HASH check. X-Git-Tag: Release-2010-05/1~3977^2~78^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e16a44c08abde9d85276d12120dbbd37cf980fee;p=openembedded.git insane.bbclass: Fix MIPS and GNU_HASH check. MIPS doesn't do GNU_HASH so if objdump tells us "[mips32]" or "[mips64]" then set sane = True --- diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 3a2cadcaff..5b31a0123d 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -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