summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan-base.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-10-18 22:19:27 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-23 11:28:31 (GMT)
commit9af29d8cb808d6121bfa084147097d4d4755a539 (patch)
treeee4be5c3266f44b4e006cf395e0e13b8b4563b1d /meta/classes/cpan-base.bbclass
parentc25ed8278ab5e277a53904302997640564ad01d8 (diff)
downloadpoky-9af29d8cb808d6121bfa084147097d4d4755a539.tar.gz
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 <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cpan-base.bbclass')
-rw-r--r--meta/classes/cpan-base.bbclass9
1 files changed, 7 insertions, 2 deletions
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):
39 return "yes" 39 return "yes"
40 return "no" 40 return "no"
41 41
42PERLLIBDIRS = "${@perl_get_libdirs(d)}" 42PERLLIBDIRS := "${@perl_get_libdirs(d)}"
43PERLVERSION := "${@get_perl_version(d)}"
43 44
44FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \ 45FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
45 ${PERLLIBDIRS}/auto/*/*/.debug \ 46 ${PERLLIBDIRS}/auto/*/*/.debug \
46 ${PERLLIBDIRS}/auto/*/*/*/.debug" 47 ${PERLLIBDIRS}/auto/*/*/*/.debug \
48 ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/.debug \
49 ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/.debug \
50 ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/*/.debug \
51 "