From: Phil Blundell Date: Thu, 18 Oct 2012 22:19:27 +0000 (+0100) Subject: cpan-base: Add more debug paths to FILES X-Git-Tag: rev_ivi_2015_02_04~15110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c8417d532b88cba6630a6c6398dbd1514bc1d83;p=scm%2Fbb%2Ftizen-distro.git 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] (From OE-Core rev: ed7690bf5cc964b5cee55f5ef13c10c75d8e3463) Signed-off-by: Phil Blundell Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass index 660c15f..c109c0f 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 \ + "