From: Tom Rini Date: Fri, 1 Oct 2010 11:49:39 +0000 (+0000) Subject: insane.bbclass: Skip '.pc' in qa_configure X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c0cc2e7fabf253e4c47620fa5d56e1d4082415;p=openembedded.git 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 Acked-by: Khem Raj --- diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 5afa63c01f..9087efd141 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: