diff options
| -rw-r--r-- | meta/classes/insane.bbclass | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 79d59d608b..500a37ca0f 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
| @@ -727,19 +727,17 @@ def package_qa_check_license(workdir, d): | |||
| 727 | 727 | ||
| 728 | def package_qa_check_staged(path,d): | 728 | def package_qa_check_staged(path,d): |
| 729 | """ | 729 | """ |
| 730 | Check staged la and pc files for sanity | 730 | Check staged la and pc files for common problems like references to the work |
| 731 | -e.g. installed being false | 731 | directory. |
| 732 | 732 | ||
| 733 | As this is run after every stage we should be able | 733 | As this is run after every stage we should be able to find the one |
| 734 | to find the one responsible for the errors easily even | 734 | responsible for the errors easily even if we look at every .pc and .la file. |
| 735 | if we look at every .pc and .la file | ||
| 736 | """ | 735 | """ |
| 737 | 736 | ||
| 738 | sane = True | 737 | sane = True |
| 739 | tmpdir = d.getVar('TMPDIR', True) | 738 | tmpdir = d.getVar('TMPDIR', True) |
| 740 | workdir = os.path.join(tmpdir, "work") | 739 | workdir = os.path.join(tmpdir, "work") |
| 741 | 740 | ||
| 742 | installed = "installed=yes" | ||
| 743 | if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d): | 741 | if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d): |
| 744 | pkgconfigcheck = workdir | 742 | pkgconfigcheck = workdir |
| 745 | else: | 743 | else: |
