diff options
author | Phil Blundell <philb@gnu.org> | 2011-07-15 12:19:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-20 22:20:28 +0100 |
commit | 56085700893ea7348b84e25b3aee338575b2ffd5 (patch) | |
tree | 3897a79ed1968670caff93837db7e86a3cb3e6cd /meta/classes | |
parent | e6971672fda5bf139e6898e3e64a9c6fe1999af0 (diff) | |
download | poky-56085700893ea7348b84e25b3aee338575b2ffd5.tar.gz |
insane: improve diagnostic for redundant rpath
Make it more obvious which file, and which recipe, are at issue.
(From OE-Core rev: 207a2176bdebe217daf81d5c5b1d2ab4ab2e6adc)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/insane.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index c45f2cb4b3..65eda9ee6f 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -142,7 +142,7 @@ def package_qa_check_rpath(file,name, d, elf, messages): | |||
142 | messages.append("package %s contains bad RPATH %s in file %s" % (name, line, file)) | 142 | messages.append("package %s contains bad RPATH %s in file %s" % (name, line, file)) |
143 | 143 | ||
144 | QAPATHTEST[useless-rpaths] = "package_qa_check_useless_rpaths" | 144 | QAPATHTEST[useless-rpaths] = "package_qa_check_useless_rpaths" |
145 | def package_qa_check_useless_rpaths(file,name, d, elf, messages): | 145 | def package_qa_check_useless_rpaths(file, name, d, elf, messages): |
146 | """ | 146 | """ |
147 | Check for RPATHs that are useless but not dangerous | 147 | Check for RPATHs that are useless but not dangerous |
148 | """ | 148 | """ |
@@ -164,7 +164,7 @@ def package_qa_check_useless_rpaths(file,name, d, elf, messages): | |||
164 | if rpath == libdir or rpath == base_libdir: | 164 | if rpath == libdir or rpath == base_libdir: |
165 | # The dynamic linker searches both these places anyway. There is no point in | 165 | # The dynamic linker searches both these places anyway. There is no point in |
166 | # looking there again. | 166 | # looking there again. |
167 | messages.append("dynamic section contains probably-redundant RPATH %s" % rpath) | 167 | messages.append("%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d), rpath)) |
168 | 168 | ||
169 | QAPATHTEST[dev-so] = "package_qa_check_dev" | 169 | QAPATHTEST[dev-so] = "package_qa_check_dev" |
170 | def package_qa_check_dev(path, name, d, elf, messages): | 170 | def package_qa_check_dev(path, name, d, elf, messages): |