Skip to contentSkip to conversation

insane.bbclass: Skip '.pc' in qa_configure

PATCH New Tom Rini 3 participants 6 messages Oct 1, 2010 – Oct 3, 2010

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 insane.bbclass: Skip '.pc' in qa_configure

There's nothing helpful in these files if they exist, and they are often unreadable. So lets just skip them.

author
#1 lore raw

PATCH 1/1 insane.bbclass: Skip '.pc' in qa_configure

---
 classes/insane.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
classes/insane.bbclass +2 -0
index 5afa63c..9087efd 100644
@@ -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:
Signature · 1 line
1.6.3.3
author
#2 lore raw

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.

Quoted 18 lines
---
 classes/insane.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
classes/insane.bbclass +2 -0
index 5afa63c..9087efd 100644
@@ -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:
Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#3 lore raw
Quoted 6 lines · Tom Rini

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.

s,files,files in the .pc directory,?

besides that looks like a sane change.

author
#4 lore raw
Quoted 11 lines · Holger Freyther
Quoted 6 lines · Tom Rini

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.

s,files,files in the .pc directory,?

besides that looks like a sane change.

I'll make the desc read better, thanks :)

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
Acked-by on v1 1/1
#5 lore raw
In reply to Tom Rini
Quoted 1 line · Tom Rini
Quoted 26 lines

---
 classes/insane.bbclass |    2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
classes/insane.bbclass +0 -0
index 5afa63c..9087efd 100644
@@ -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:
--
1.6.3.3

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel