summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-02-04 15:47:28 -0500
committerTom Rini <trini@embeddedalley.com>2009-02-04 15:47:28 -0500
commite16a44c08abde9d85276d12120dbbd37cf980fee (patch)
treebfb9278c1080773901e376138914125ab5c1db73 /classes
parent0d90b73f1dcd9eb561ac9a7263cd0ecfb6031efc (diff)
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
Diffstat (limited to 'classes')
-rw-r--r--classes/insane.bbclass2
1 files changed, 2 insertions, 0 deletions
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