git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d90b73
)
insane.bbclass: Fix MIPS and GNU_HASH check.
author
Tom Rini
<trini@embeddedalley.com>
Wed, 4 Feb 2009 20:47:28 +0000
(15:47 -0500)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/classes/insane.bbclass
b/classes/insane.bbclass
index
3a2cadc
..
5b31a01
100644
(file)
--- 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