[oe-commits] Tom Rini : insane.bbclass: Fix MIPS and GNU_HASH check.
GIT User account
git at amethyst.openembedded.net
Wed Feb 4 20:47:46 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: e16a44c08abde9d85276d12120dbbd37cf980fee
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e16a44c08abde9d85276d12120dbbd37cf980fee
Author: Tom Rini <trini at embeddedalley.com>
Date: Wed Feb 4 15:47:28 2009 -0500
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
---
classes/insane.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 3a2cadc..5b31a01 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
More information about the Openembedded-commits
mailing list