diff options
| -rw-r--r-- | meta-oe/recipes-test/pm-qa/pm-qa_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-test/pm-qa/pm-qa_git.bb b/meta-oe/recipes-test/pm-qa/pm-qa_git.bb index f792415037..3c123f9294 100644 --- a/meta-oe/recipes-test/pm-qa/pm-qa_git.bb +++ b/meta-oe/recipes-test/pm-qa/pm-qa_git.bb | |||
| @@ -19,8 +19,8 @@ SRC_URI = " \ | |||
| 19 | CFLAGS += "-pthread" | 19 | CFLAGS += "-pthread" |
| 20 | 20 | ||
| 21 | do_compile () { | 21 | do_compile () { |
| 22 | # Find all the .c files in this project and build them. | 22 | # Find all the .c files in this project skip any directory named .pc and build them. |
| 23 | for x in `find . -name "*.c"` | 23 | for x in `find . -path '*/.pc' -prune -o -type f -name '*.c' -print` |
| 24 | do | 24 | do |
| 25 | util=`echo ${x} | sed s/.c$//` | 25 | util=`echo ${x} | sed s/.c$//` |
| 26 | oe_runmake ${util} | 26 | oe_runmake ${util} |
| @@ -32,7 +32,7 @@ do_install () { | |||
| 32 | install -d ${D}${libdir}/${BPN} | 32 | install -d ${D}${libdir}/${BPN} |
| 33 | 33 | ||
| 34 | # Install the compiled binaries that were built in the previous step | 34 | # Install the compiled binaries that were built in the previous step |
| 35 | for x in `find . -name "*.c"` | 35 | for x in `find . -path '*/.pc' -prune -o -type f -name '*.c' -print` |
| 36 | do | 36 | do |
| 37 | util=`echo ${x} | sed s/.c$//` | 37 | util=`echo ${x} | sed s/.c$//` |
| 38 | util_basename=`basename ${util}` | 38 | util_basename=`basename ${util}` |
