[oe] [PATCH] insane.bbclass: Skip '.pc' in qa_configure

Tom Rini tom_rini at mentor.com
Fri Oct 1 21:56:41 UTC 2010


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 <tom_rini at mentor.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:


-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list