From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay1.mentorg.com ([192.94.38.131]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1P1nbN-0006ad-TQ for openembedded-devel@lists.openembedded.org; Fri, 01 Oct 2010 23:57:15 +0200 Received: from svr-orw-exc-08.mgc.mentorg.com ([147.34.98.97]) by relay1.mentorg.com with esmtp id 1P1nb8-0007nH-Ch from Tom_Rini@mentor.com for openembedded-devel@lists.openembedded.org; Fri, 01 Oct 2010 14:56:58 -0700 Received: from na2-mail.mgc.mentorg.com ([134.86.114.213]) by SVR-ORW-EXC-08.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Oct 2010 14:56:56 -0700 Received: from [172.30.80.12] ([172.30.80.12]) by na2-mail.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 1 Oct 2010 15:56:49 -0600 Message-ID: <4CA65919.2030203@mentor.com> Date: Fri, 01 Oct 2010 14:56:41 -0700 From: Tom Rini Organization: Mentor Graphics Corporation User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <1285969779-7932-1-git-send-email-tom_rini@mentor.com> <1285969779-7932-2-git-send-email-tom_rini@mentor.com> In-Reply-To: <1285969779-7932-2-git-send-email-tom_rini@mentor.com> X-OriginalArrivalTime: 01 Oct 2010 21:56:50.0048 (UTC) FILETIME=[8CDC5000:01CB61B3] X-SA-Exim-Connect-IP: 192.94.38.131 X-SA-Exim-Mail-From: Tom_Rini@mentor.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH] insane.bbclass: Skip '.pc' in qa_configure X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 21:57:15 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Tom Rini wrote: --compose didn't stick, grr. These files won't have anything useful in them and are often unreadable so lets just skip them. > Signed-off-by: Tom Rini > --- > 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: -- Tom Rini Mentor Graphics Corporation