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 | |
parent | e6971672fda5bf139e6898e3e64a9c6fe1999af0 (diff) | |
download | ast2050-yocto-poky-56085700893ea7348b84e25b3aee338575b2ffd5.zip ast2050-yocto-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>
-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 c45f2cb..65eda9e 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): messages.append("package %s contains bad RPATH %s in file %s" % (name, line, file)) QAPATHTEST[useless-rpaths] = "package_qa_check_useless_rpaths" -def package_qa_check_useless_rpaths(file,name, d, elf, messages): +def package_qa_check_useless_rpaths(file, name, d, elf, messages): """ Check for RPATHs that are useless but not dangerous """ @@ -164,7 +164,7 @@ def package_qa_check_useless_rpaths(file,name, d, elf, messages): if rpath == libdir or rpath == base_libdir: # The dynamic linker searches both these places anyway. There is no point in # looking there again. - messages.append("dynamic section contains probably-redundant RPATH %s" % rpath) + messages.append("%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d), rpath)) QAPATHTEST[dev-so] = "package_qa_check_dev" def package_qa_check_dev(path, name, d, elf, messages): |