[oe-commits] Tom Rini : insane.bbclass: Skip '.pc' in qa_configure

git version control git at git.openembedded.org
Mon Oct 4 16:34:13 UTC 2010


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

Author: Tom Rini <tom_rini at mentor.com>
Date:   Fri Oct  1 11:49:39 2010 +0000

insane.bbclass: Skip '.pc' in qa_configure

The files in the .pc directory won't have anything useful in them and are
often unreadable so lets just skip them.

Signed-off-by: Tom Rini <tom_rini at mentor.com>
Acked-by: Khem Raj <raj.khem at gmail.com>

---

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

diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 5afa63c..9087efd 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -466,6 +466,8 @@ python do_qa_configure() {
     configs = []
     bb.debug(1, "Checking sanity of the config.log file")
     for root, dirs, files in os.walk(bb.data.getVar('WORKDIR', d, True)):
+        if ".pc" in root:
+            continue
         statement = "grep 'CROSS COMPILE Badness:' %s > /dev/null" % \
                     os.path.join(root,"config.log")
         if "config.log" in files:





More information about the Openembedded-commits mailing list