[oe-commits] Chris Larson : insane.bbclass: Silence the annoying GNU_HASH QA checks when --hash-style isn't set.

GIT User account git at amethyst.openembedded.net
Sat Mar 21 19:21:01 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 99146d8043a5aed5d0d09fa9dad5271cffdd8f5d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=99146d8043a5aed5d0d09fa9dad5271cffdd8f5d

Author: Chris Larson <clarson at mvista.com>
Date:   Fri Mar 20 18:21:38 2009 -0700

insane.bbclass: Silence the annoying GNU_HASH QA checks when --hash-style isn't set.

Signed-off-by: Chris Larson <clarson at mvista.com>

---

 classes/insane.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 5b31a01..48964af 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)





More information about the Openembedded-commits mailing list