insane.bbclass: Skip '.pc' in qa_configure
authorTom Rini <tom_rini@mentor.com>
Fri, 1 Oct 2010 11:49:39 +0000 (11:49 +0000)
committerTom Rini <tom_rini@mentor.com>
Mon, 4 Oct 2010 16:32:09 +0000 (09:32 -0700)
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@mentor.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
classes/insane.bbclass

index 5afa63c..9087efd 100644 (file)
@@ -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: