From: Chris Larson Date: Sat, 21 Mar 2009 01:21:38 +0000 (-0700) Subject: insane.bbclass: Silence the annoying GNU_HASH QA checks when --hash-style isn't set. X-Git-Tag: Release-2010-05/1~3796^2~53^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99146d8043a5aed5d0d09fa9dad5271cffdd8f5d;p=openembedded.git insane.bbclass: Silence the annoying GNU_HASH QA checks when --hash-style isn't set. Signed-off-by: Chris Larson --- 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)