diff options
author | Phil Blundell <philb@gnu.org> | 2012-10-18 23:19:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-23 12:27:13 +0100 |
commit | ed7690bf5cc964b5cee55f5ef13c10c75d8e3463 (patch) | |
tree | 8fc20aee0bfd7fc6fb959176521a1bdb319eae8e | |
parent | 01ecc9fbf59712d0f8e8a9b212171efc9d28ac57 (diff) | |
download | openembedded-core-ed7690bf5cc964b5cee55f5ef13c10c75d8e3463.tar.gz openembedded-core-ed7690bf5cc964b5cee55f5ef13c10c75d8e3463.tar.bz2 openembedded-core-ed7690bf5cc964b5cee55f5ef13c10c75d8e3463.zip |
cpan-base: Add more debug paths to FILES
We seem to be mostly installing modules into vendor_perl nowadays.
Make sure that the .debug data from there is captured appropriately.
Also, expand ${PERLLIBDIRS} at the point of assignment so we don't
call the python again and again.
[RP: Fixup to whitespace]
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cpan-base.bbclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 660c15f549..c109c0fe83 100644 --- a/meta/classes/cpan-base.bbclass +++ b/meta/classes/cpan-base.bbclass @@ -39,8 +39,13 @@ def is_target(d): return "yes" return "no" -PERLLIBDIRS = "${@perl_get_libdirs(d)}" +PERLLIBDIRS := "${@perl_get_libdirs(d)}" +PERLVERSION := "${@get_perl_version(d)}" FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \ ${PERLLIBDIRS}/auto/*/*/.debug \ - ${PERLLIBDIRS}/auto/*/*/*/.debug" + ${PERLLIBDIRS}/auto/*/*/*/.debug \ + ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/.debug \ + ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/.debug \ + ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/*/.debug \ + " |