diff options
author | Chris Larson <clarson@mvista.com> | 2009-03-20 18:21:38 -0700 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2009-03-21 20:18:29 -0700 |
commit | 99146d8043a5aed5d0d09fa9dad5271cffdd8f5d (patch) | |
tree | 66ee8040de9d26d138b44afd0d5e13324e79eac8 /classes | |
parent | 06e6fddcf04474cd1006ee8ad3e51c2c2dbfde2a (diff) |
insane.bbclass: Silence the annoying GNU_HASH QA checks when --hash-style isn't set.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/insane.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 5b31a0123d..48964afb92 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -343,6 +343,8 @@ def package_qa_hash_style(path, name, d, elf): gnu_hash = "--hash-style=gnu" in bb.data.getVar('LDFLAGS', d, True) if not gnu_hash: gnu_hash = "--hash-style=both" in bb.data.getVar('LDFLAGS', d, True) + if not gnu_hash: + return True objdump = bb.data.getVar('OBJDUMP', d, True) env_path = bb.data.getVar('PATH', d, True) |